mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
ci: Ignore template-injection on nextcloud-releases workflow
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
595b97527b
commit
2d649357a1
1 changed files with 7 additions and 4 deletions
11
.github/workflows/generate-release-changelog.yml
vendored
11
.github/workflows/generate-release-changelog.yml
vendored
|
|
@ -50,8 +50,9 @@ jobs:
|
|||
PREVIOUS_TAG=$(echo "$TAGS" | grep -v 'rc\|beta\|alpha' | sed -n '2p')
|
||||
echo "CURRENT_TAG=$CURRENT_TAG" >> $GITHUB_ENV
|
||||
echo "PREVIOUS_TAG=$PREVIOUS_TAG" >> $GITHUB_ENV
|
||||
|
||||
- name: Verify current tag
|
||||
|
||||
# Since this action only runs on nextcloud-releases, ignoring is okay
|
||||
- name: Verify current tag # zizmor: ignore[template-injection]
|
||||
run: |
|
||||
if [ "${{ github.ref_name }}" != "${{ env.CURRENT_TAG }}" ]; then
|
||||
echo "Current tag does not match the release tag. Exiting."
|
||||
|
|
@ -71,7 +72,8 @@ jobs:
|
|||
run: |
|
||||
echo '{"username": "github-actions"}' > github_helper/credentials.json
|
||||
|
||||
- name: Generate changelog between ${{ env.PREVIOUS_TAG }} and ${{ github.ref_name }}
|
||||
# Since this action only runs on nextcloud-releases, ignoring is okay
|
||||
- name: Generate changelog between ${{ env.PREVIOUS_TAG }} and ${{ github.ref_name }} # zizmor: ignore[template-injection]
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
|
|
@ -79,7 +81,8 @@ jobs:
|
|||
composer install
|
||||
php index.php generate:changelog --no-bots --format=forum server ${{ env.PREVIOUS_TAG }} ${{ github.ref_name }} > changelog.md
|
||||
|
||||
- name: Set changelog to release
|
||||
# Since this action only runs on nextcloud-releases, ignoring is okay
|
||||
- name: Set changelog to release # zizmor: ignore[template-injection]
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue