Release Tag Dispatch Workflow¶
When creating a new tag using the repository's default GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions, events triggered by the GITHUB_TOKEN will not create a new workflow run. To address this behavior, we need to set up an SSH Key when fetching the repository in the pipeline.
-
Generate a new OpenSSH Key:
This command will generate a private key
id_ed25519and a corresponding public keyid_ed25519.pubin the working directory. -
Add the private key to GitHub's
Secrets, naming itSSH_KEYin the repository. - Add the public key to GitHub's
Deploy keys, also naming itSSH_KEYin the repository. - In the GitHub Actions, specify the
ssh-keyoption: