Skip to content

Commit 28a2f43

Browse files
authored
wrong wf
1 parent 63ee0f2 commit 28a2f43

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/commands.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ on:
55
types: [created]
66
pull_request: # Handle renamed PRs
77
types: [edited]
8+
permissions:
9+
contents: write
810

911
jobs:
1012
comment-trigger:
1113
runs-on: ubuntu-latest
1214
steps:
1315
- name: Check out repository
1416
uses: actions/checkout@v3
15-
with:
16-
token: ${{ secrets.PAT_PASSWORD }}
1717
- name: Run command handlers
1818
uses: PrismarineJS/prismarine-repo-actions@master
1919
with:

.github/workflows/update-from-minecraft-data.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
27+
with:
28+
token: ${{ secrets.PAT_PASSWORD }}
2729

2830
- name: Install dependencies
2931
run: npm install gh-helpers
3032

3133
- name: Run updator script
3234
run: node .github/helper/updator.js
3335
env:
34-
GITHUB_TOKEN: ${{ secrets.PAT_PASSWORD || secrets.GITHUB_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.PAT_PASSWORD }}
3537
MCDATA_BRANCH: ${{ github.event.inputs.mcdata_branch }}
3638
MCDATA_PR_URL: ${{ github.event.inputs.mcdata_pr_url }}
3739
NEW_MC_VERSION: ${{ github.event.inputs.new_mc_version }}

0 commit comments

Comments
 (0)