Skip to content

Commit

Permalink
WF to trigger dependabot ... maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
big-andy-coates committed Apr 16, 2023
1 parent 45702c8 commit 802a9c1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/trigger-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,8 @@ jobs:
run: git push --set-upstream origin "create-trigger-dependabot-${{ github.run_number }}"
- name: Create pull request
if: ${{ github.event.inputs.use-pr == 'true' }}
run: gh pr create --title 'Trigger dependabot' --body 'PR created by the ${{ github.workflow }} workflow' --label 'chore'
env:
# Todo: comment about using PAT and link to docs.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Merge pull request
if: ${{ github.event.inputs.use-pr == 'true' }}
run: gh pr merge --squash --admin --delete-branch
run: |
echo "Release version: $(gh pr create --title 'Trigger dependabot' --body 'PR created by the [${{ github.workflow }}](${{ github.event.workflow }}) workflow' --label 'chore')" >> $GITHUB_STEP_SUMMARY
env:
# Todo: comment about using PAT and link to docs.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 802a9c1

Please sign in to comment.