mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
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:
parent
59dd63be77
commit
4b251aab22
6
.github/workflows/tag.yaml
vendored
6
.github/workflows/tag.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue