Skip to content

Commit

Permalink
ci: validate step outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
keplervital committed Aug 8, 2023
1 parent af8b548 commit 2039d86
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ jobs:
branch-name: 'changelogs'
commit-message: 'chore: auto update changelogs'
- name: 'Approve Pull Request'
uses: ./.github/actions/pullrequest/approve
if: ${{ steps.create-pull-request.outputs.created == 'true' }}
with:
token: ${{ secrets.GH_PRIVILEGED_TOKEN }}
pull-request-number: ${{ steps.create-pull-request.outputs.number }}
merge: true
run: |
echo "Outputs: ${{ steps.create-pull-request.outputs }}"
# - name: 'Approve Pull Request'
# uses: ./.github/actions/pullrequest/approve
# if: ${{ steps.create-pull-request.outputs.created == 'true' }}
# with:
# token: ${{ secrets.GH_PRIVILEGED_TOKEN }}
# pull-request-number: ${{ steps.create-pull-request.outputs.number }}
# merge: true

0 comments on commit 2039d86

Please sign in to comment.