mirror of
https://github.com/sartography/spiffworkflow-frontend.git
synced 2025-02-24 04:08:10 +00:00
notes
This commit is contained in:
parent
a058a3ef99
commit
71f61f596e
12
.github/workflows/auto-merge-dependabot-prs.yml
vendored
12
.github/workflows/auto-merge-dependabot-prs.yml
vendored
@ -5,6 +5,15 @@ on:
|
|||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
|
# workflow_call is used to indicate that a workflow can be called by another workflow. When a workflow is triggered with the workflow_call event, the event payload in the called workflow is the same event payload from the calling workflow. For more information see, "Reusing workflows."
|
||||||
|
|
||||||
|
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
|
||||||
|
# maybe hook into this instead of workflow_run:
|
||||||
|
# on:
|
||||||
|
# pull_request:
|
||||||
|
# pull_request_target:
|
||||||
|
# types: [labeled]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
@ -19,11 +28,12 @@ jobs:
|
|||||||
# if: ${{contains(steps.metadata.outputs.dependency-names, 'pytest')}}
|
# if: ${{contains(steps.metadata.outputs.dependency-names, 'pytest')}}
|
||||||
# ideally we auto-merge if all checks pass
|
# ideally we auto-merge if all checks pass
|
||||||
run: |
|
run: |
|
||||||
echo about to log stuff
|
echo about to log stuff from webhook
|
||||||
echo actor: ${{ github.actor }}
|
echo actor: ${{ github.actor }}
|
||||||
echo conclusion: ${{ github.event.workflow_run.conclusion }}
|
echo conclusion: ${{ github.event.workflow_run.conclusion }}
|
||||||
echo event_name: ${{ github.event_name }}
|
echo event_name: ${{ github.event_name }}
|
||||||
echo pr_url: ${{ github.event.pull_request.html_url }}
|
echo pr_url: ${{ github.event.pull_request.html_url }}
|
||||||
|
echo workflow: ${{ github.workflow }}
|
||||||
echo and going to next step where it should auto merge
|
echo and going to next step where it should auto merge
|
||||||
env:
|
env:
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
PR_URL: ${{github.event.pull_request.html_url}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user