From d714327a4d57c36d523b363085686cfe9bd19e07 Mon Sep 17 00:00:00 2001 From: "Jeremy R. Manning" Date: Thu, 18 Jul 2024 11:01:40 -0400 Subject: [PATCH] Update launch_events.yml --- .github/workflows/launch_events.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/launch_events.yml b/.github/workflows/launch_events.yml index a96a266..e6883a5 100644 --- a/.github/workflows/launch_events.yml +++ b/.github/workflows/launch_events.yml @@ -28,20 +28,14 @@ jobs: env: GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }} - - name: Configure git - run: | - git config --global user.name 'github-actions[bot]' - git config --global user.email 'github-actions[bot]@users.noreply.github.com' - - name: Commit new workflows - 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 + uses: stefanzweifel/git-auto-commit-action@v4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + commit_message: "Add event reminder workflows" + file_pattern: ".github/workflows/reminder_*.yml" branch: main + commit_user_name: github-actions[bot] + commit_user_email: github-actions[bot]@users.noreply.github.com + commit_author: "github-actions[bot] " + repository: ${{ github.repository }} + token: ${{ secrets.GITHUB_TOKEN }}