Skip to content

Commit cde6e00

Browse files
authored
Merge pull request #151 from iterative/0x2b3bfa0-patch-1
2 parents 3b7d8c6 + c25aa21 commit cde6e00

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/comment-bot.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ jobs:
66
tag: # /tag <tagname> <commit>
77
if: startsWith(github.event.comment.body, '/tag ')
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
issues: write
913
steps:
1014
- uses: actions/checkout@v3
1115
- name: React Seen
@@ -27,7 +31,6 @@ jobs:
2731
post({
2832
owner: context.repo.owner, repo: context.repo.repo,
2933
comment_id: context.payload.comment.id, content: "eyes"})
30-
github-token: ${{ secrets.GH_TOKEN }}
3134
- name: Tag Commit
3235
run: |
3336
git clone https://${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} repo
@@ -47,4 +50,3 @@ jobs:
4750
post({
4851
owner: context.repo.owner, repo: context.repo.repo,
4952
comment_id: context.payload.comment.id, content: "rocket"})
50-
github-token: ${{ secrets.GH_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
- uses: actions/checkout@v3
3636
with:
3737
fetch-depth: 0
38-
token: ${{ secrets.GH_TOKEN || github.token }}
3938
- uses: actions/setup-python@v4
4039
with:
4140
python-version: '3.x'
@@ -53,7 +52,7 @@ jobs:
5352
tag="${GITHUB_REF#refs/tags/}"
5453
gh release create --title "shtab $tag beta" --draft --notes "$changelog" "$tag" dist/${{ steps.dist.outputs.whl }} dist/${{ steps.dist.outputs.targz }}
5554
env:
56-
GH_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
55+
GH_TOKEN: ${{ github.token }}
5756
- name: Docs
5857
run: |
5958
pushd docs

0 commit comments

Comments
 (0)