We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ca23df + 9796879 commit d155407Copy full SHA for d155407
.github/workflows/labels.yml
@@ -50,7 +50,7 @@ jobs:
50
51
# Use a GitHub App, because it has much higher rate limits: 12,500 instead of 5,000 req / hour.
52
- uses: actions/create-github-app-token@0f859bf9e69e887678d5bbfbee594437cb440ffe # v2.1.0
53
- if: vars.NIXPKGS_CI_APP_ID
+ if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_APP_ID
54
id: app-token
55
with:
56
app-id: ${{ vars.NIXPKGS_CI_APP_ID }}
ci/github-script/run
@@ -49,7 +49,7 @@ program
49
.option('--no-dry', 'Make actual modifications')
.action(async (owner, repo, pr, options) => {
const prepare = (await import('./prepare.js')).default
- run(prepare, owner, repo, pr, options)
+ await run(prepare, owner, repo, pr, options)
})
program
@@ -61,7 +61,7 @@ program
61
.option('--no-cherry-picks', 'Do not expect cherry-picks.')
62
63
const commits = (await import('./commits.js')).default
64
- run(commits, owner, repo, pr, options)
+ await run(commits, owner, repo, pr, options)
65
66
67
@@ -77,7 +77,7 @@ program
77
try {
78
process.env.GITHUB_WORKSPACE = tmp
79
process.chdir(tmp)
80
- run(labels, owner, repo, pr, options)
+ await run(labels, owner, repo, pr, options)
81
} finally {
82
rmSync(tmp, { recursive: true })
83
}
0 commit comments