Skip to content

Commit

Permalink
Update launch_events.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymanning authored Jul 18, 2024
1 parent 67ed58a commit 8442112
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/launch_events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:

permissions:
contents: write
actions: write

jobs:
generate_event_reminders:
Expand All @@ -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
Expand All @@ -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/[email protected]
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 }}

0 comments on commit 8442112

Please sign in to comment.