Skip to content

Commit

Permalink
Update build.yml to avoid using token.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anduin2017 committed Nov 27, 2023
1 parent 4d87d98 commit fb75db0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ on:
branches: [ master ]
workflow_dispatch:

permissions:
contents: write

jobs:
Rebuild-everything:
runs-on: ubuntu-latest
steps:
# Checkout, install tools..
- uses: actions/checkout@v2
- name: Clone
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
persist-credentials: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'
Expand Down

0 comments on commit fb75db0

Please sign in to comment.