Meta: GitHub tag action: add commit key (#248)

The COMMIT_KEY secret contains a private SSH key. The associated public
key has been added as a deploy key in the GitHub project. See:
https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys

This is necessary to make commits done by github-actions able to trigger
further github-actions. See:
https://stackoverflow.com/q/60418323/3018229.
This commit is contained in:
Tim 2022-12-06 04:14:32 +01:00 committed by GitHub
parent 59dd63be77
commit 4b251aab22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
# The COMMIT_KEY secret contains a private SSH key. The associated public key
# has been added as a deploy key in the GitHub project. See:
# https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys
# This is necessary to make commits done by github-actions able to trigger
# further github-actions. See: https://stackoverflow.com/q/60418323/3018229.
ssh-key: "${{secrets.COMMIT_KEY}}"
- name: Create Tag
run: .github/scripts/tag.sh