Skip to content

Commit

Permalink
Merge pull request #33 from NorthernMan54/depend
Browse files Browse the repository at this point in the history
Update automation triggers
  • Loading branch information
NorthernMan54 authored Dec 2, 2024
2 parents ec1dfd0 + 8a590aa commit 547520f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ updates:
open-pull-requests-limit: 10
reviewers:
- NorthernMan54
assignees:
- NorthernMan54
- bwp91
- donavanbecker

10 changes: 5 additions & 5 deletions .github/workflows/stage-1_create_a_release_and_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 547520f

Please sign in to comment.