From 844211249b42f662c14fe5b12d9ff8649c6f0e29 Mon Sep 17 00:00:00 2001 From: "Jeremy R. Manning" Date: Thu, 18 Jul 2024 11:28:12 -0400 Subject: [PATCH] Update launch_events.yml --- .github/workflows/launch_events.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/launch_events.yml b/.github/workflows/launch_events.yml index f8d7034..e37fd43 100644 --- a/.github/workflows/launch_events.yml +++ b/.github/workflows/launch_events.yml @@ -5,7 +5,6 @@ on: permissions: contents: write - actions: write jobs: generate_event_reminders: @@ -15,7 +14,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 with: - persist-credentials: true + persist-credentials: false - name: Set up Python uses: actions/setup-python@v2 @@ -41,11 +40,9 @@ jobs: run: | git add .github/workflows/reminder_*.yml git commit -m "Add event reminder workflows" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Push changes - uses: ad-m/github-push-action@v0.6.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: main + run: | + git push https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${{ github.repository }} HEAD:main + env: + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}