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