Skip to content

Commit

Permalink
next
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianZaccaria committed Oct 31, 2024
1 parent 513645a commit 54fee63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/fake-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
BRANCH_NAME: main
UPDATER_BRANCH: snyk-tag-monitoring-${{ github.run_id }}
GITHUB_TOKEN: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
RELEASE_VERSION: ${{ github.event.inputs.release-version || '0.2.0' }}

jobs:
release:
Expand All @@ -27,7 +28,7 @@ jobs:

- name: Append tag to Snyk monitoring list
run: |
sed -i 's/list_of_released_tags=(/list_of_released_tags=("${{ github.event.inputs.release-version }}", /' .github/workflows/snyk-security.yaml
sed -i 's/list_of_released_tags=(/list_of_released_tags=("v$RELEASE_VERSION", /' .github/workflows/snyk-security.yaml
- name: Push changes
run: |
Expand All @@ -43,7 +44,7 @@ jobs:
--head $UPDATER_BRANCH \
--base $BRANCH_NAME
env:
pr_title: "Append tag ${{ github.event.inputs.release-version }} to Snyk monitoring list"
pr_title: "Append tag $RELEASE_VERSION to Snyk monitoring list"
pr_body: |
:rocket: This is an automated Pull Request generated by [release.yaml](https://github.com/project-codeflare/codeflare-sdk/blob/main/.github/workflows/release.yaml) workflow.
Expand Down

0 comments on commit 54fee63

Please sign in to comment.