assign PAT to checkout action

This commit is contained in:
John Bowdre 2024-04-13 16:45:03 -05:00
parent 10e8fdce8e
commit 559dca65fc

View file

@ -19,10 +19,10 @@ defaults:
jobs:
md2gmi:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.MY_GH_TOKEN }}
- uses: ./.github/actions/markdown2gempost
with:
input-dir: 'markdown/incoming'
@ -31,6 +31,5 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'convert Markdown post to Gempost'
token: ${{ secrets.MY_GH_TOKEN }}