From 8a590aacf4d39f7034cdfa44deca883508139822 Mon Sep 17 00:00:00 2001 From: Northern Man <19808920+NorthernMan54@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:24:03 -0500 Subject: [PATCH] Update automation triggers --- .github/dependabot.yml | 5 +++-- .../workflows/stage-1_create_a_release_and_store.yml | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9a88b5d..83747f8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,5 +13,6 @@ updates: open-pull-requests-limit: 10 reviewers: - NorthernMan54 - assignees: - - NorthernMan54 + - bwp91 + - donavanbecker + \ No newline at end of file diff --git a/.github/workflows/stage-1_create_a_release_and_store.yml b/.github/workflows/stage-1_create_a_release_and_store.yml index ed57fa9..3286d46 100644 --- a/.github/workflows/stage-1_create_a_release_and_store.yml +++ b/.github/workflows/stage-1_create_a_release_and_store.yml @@ -29,10 +29,10 @@ jobs: - name: Merge Username id: merge_username run: | - if [ "${{ github.event.head_commit.author.username }}" ]; then - USERNAME=${{ github.event.head_commit.author.username }} + if [ "${{ github.event.commits[0]author.username }}" ]; then + USERNAME=${{ github.event.commits[0]author.username }} else - USERNAME='NorthernMan54' + USERNAME='' fi echo "Using USERNAME: $USERNAME" echo "username=$USERNAME" >> "$GITHUB_OUTPUT" @@ -49,9 +49,9 @@ jobs: echo "increment=$INCREMENT" >> "$GITHUB_OUTPUT" create_draft_prerelease: - # Only run this job if the username is NorthernMan54 + # Only run this job if the username is dependabot[bot] needs: merge_inputs - if: ${{ needs.merge_inputs.outputs.username == 'NorthernMan54' }} + if: ${{ needs.merge_inputs.outputs.username == 'dependabot[bot]' }} permissions: # write permission is required to create a github release contents: write