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.
GH_TOKEN
1 parent b030aa0 commit 234508eCopy full SHA for 234508e
.github/workflows/package.yml
@@ -10,7 +10,6 @@ jobs:
10
name: Package distribution file
11
runs-on: ubuntu-latest
12
permissions:
13
- # pull-requests: read
14
contents: write
15
steps:
16
- name: Init a git repo
@@ -25,8 +24,7 @@ jobs:
25
24
npm test
26
npm run package
27
- name: Commit to PR
28
- # if: github.actor == 'dependabot[bot]'
29
- if: github.event.commits[0].author.name != 'GitHub Actions'
+ if: github.actor == 'dependabot[bot]'
30
env:
31
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
run: |
@@ -36,7 +34,5 @@ jobs:
36
34
git push
37
35
- name: Check git diff
38
if: github.actor != 'dependabot[bot]'
39
- env:
40
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
42
git diff --exit-code dist/index.js
0 commit comments