From 559dca65fc10e98cc40611564c8a60aa3cc79bfa Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 13 Apr 2024 16:45:03 -0500 Subject: [PATCH] assign PAT to checkout action --- .github/workflows/markdown2gempost.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/markdown2gempost.yml b/.github/workflows/markdown2gempost.yml index 4611a0c..aa8f72d 100644 --- a/.github/workflows/markdown2gempost.yml +++ b/.github/workflows/markdown2gempost.yml @@ -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 }}