We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c28e049 commit 5d58a8aCopy full SHA for 5d58a8a
2 files changed
.github/workflows/release.yml
@@ -403,6 +403,8 @@ jobs:
403
env:
404
TAG: ${{ env.RC_TAG }}
405
BRANCH: ${{ env.RC_BRANCH }}
406
+ OWNER: ${{ github.repository_owner }}
407
+ REPO: ${{ github.event.repository.name }}
408
with:
409
script: |
410
const scriptPath = `${{ github.workspace }}/.github/workflows/scripts/rc-notify.js`;
.github/workflows/scripts/rc-notify.js
@@ -1,8 +1,8 @@
1
export default async ({ github, process }) => {
2
const tagName = process.env.TAG;
3
const branchLabel = process.env.BRANCH;
4
- const owner = github.repo.owner;
5
- const repo = github.repo.repo;
+ const owner = process.env.OWNER;
+ const repo = process.env.REPO;
6
7
if (!tagName.toLowerCase().includes('rc')) {
8
console.log(`Tag "${tagName}" does not appear to be an RC. Skipping notification.`);
0 commit comments