Advisory lock service for CI/CD pipelines
Version updated for https://github.com/releasetools/mutex to version v1.2.1.
- This action is used across all versions by 1 repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action, mutex, provides a robust solution to manage shared resources in CI/CD pipelines by enforcing advisory locks in a PostgreSQL table. It allows different workflows or commands to wait until a lock is released, preventing race conditions and ensuring proper resource management. The action supports locking and unlocking operations via command-line interface (CLI) and GitHub Actions, with options for customizing the lock duration and behavior through environment variables and inputs.
What’s Changed
- Slack notifications are now switched on by
slack-channelalone. A workflow that never asked for them no longer logs a warning about a missingSLACK_BOT_TOKENon every lock and release. - Fixed a
SLACK_BOT_TOKENinherited from job-levelenv:failing any mutex step that set noslack-channel. The channel decides; an unrelated variable in the environment no longer can.