Skip to content

Commit 55db4af

Browse files
fix: notifications to issues for manual rc (#1926)
Signed-off-by: matttrach <matt.trachier@suse.com> Co-authored-by: Matt Trachier <matt.trachier@suse.com>
1 parent 5d58a8a commit 55db4af

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/manual-rc-release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,15 @@ jobs:
121121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122122
GPG_KEY_ID: ${{ env.GPG_KEY_ID }}
123123
GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }}
124+
- name: 'Find Issues and Create Comments'
125+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 https://github.com/actions/github-script
126+
env:
127+
TAG: ${{ inputs.tag }}
128+
BRANCH: ${{ inputs.branch }}
129+
OWNER: ${{ github.repository_owner }}
130+
REPO: ${{ github.event.repository.name }}
131+
with:
132+
script: |
133+
const scriptPath = `${{ github.workspace }}/.github/workflows/scripts/rc-notify.js`;
134+
const { default: script } = await import(scriptPath);
135+
await script({github, process});

0 commit comments

Comments
 (0)