File tree Expand file tree Collapse file tree 2 files changed +5
-29
lines changed Expand file tree Collapse file tree 2 files changed +5
-29
lines changed Original file line number Diff line number Diff line change 27
27
name : " Check Changelog Entry"
28
28
runs-on : ubuntu-latest
29
29
concurrency :
30
- group : changelog-${{ github.head_ref }}
30
+ group : changelog-${{ github.event.number }}
31
31
cancel-in-progress : true
32
32
33
33
steps :
41
41
42
42
- name : " Check for changelog entry"
43
43
uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
44
+ env :
45
+ CHANGELOG_CHANGES : ${{steps.changelog.outputs.changelog}}
44
46
with :
45
47
script : |
46
48
async function createOrUpdateChangelogComment(commentDetails, deleteComment) {
90
92
}
91
93
}
92
94
93
- const changelogChangesPresent = ${{steps.changelog.outputs.changelog}};
95
+ // Safely get the changelog output from environment variable
96
+ const changelogChangesPresent = process.env.CHANGELOG_CHANGES === 'true';
94
97
95
98
const prAuthor = context.payload.pull_request.user.login;
96
99
if (prAuthor === 'dependabot[bot]') {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments