Skip to content

Commit

Permalink
Merge pull request #99 from offbyone/use-repo-token
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer authored Oct 28, 2023
2 parents f7e26d6 + 43c7b6f commit 1889234
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on: [push, pull_request]
env:
PYTEST_ADDOPTS: "--color=yes"

jobs:
permissions:
content: read

jobs:
test:
name: Test - ${{ matrix.python-version }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -80,8 +82,6 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -98,7 +98,7 @@ jobs:
- name: Publish
if: ${{ steps.check_release.outputs.autopub_release=='true' }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
autopub prepare
autopub commit
Expand Down

0 comments on commit 1889234

Please sign in to comment.