Skip to content

Commit

Permalink
creating another pr with minor edits (#3897)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Feb 1, 2023
1 parent e6d659a commit 698795f
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/pull-request-trigger.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,39 @@
name: Pull Request Trigger
on:
pull_request:
pull_request_target:
types: [closed]
branches:
- 'gh-pages'
- 'feature-homepage-launch'

jobs:
# Run an echo to confirm that the action was triggered
Hello-World:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🍺 This job was automatically triggered by a ${{ github.event_name }} event."

# Gathers merged PRs from every location and moves to column 'test-approved-by-reviewer...'
Gather-Merged-PRs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged == true }}
steps:
- name: Gather Merged PRs
uses: alex-page/[email protected]
with:
project: Project Board
column: 'test-approved-by-reviewer (Automated Column, do not place items here manually)'
repo-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }}

# Deletes merged PRs from column 'test-approved-by-reviewer...' after 'needs: Gather-Merged-PRs'
Delete-Merged-PRs:
needs: Gather-Merged-PRs
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged == true }}
steps:
- name: Delete Merged PRs
uses: alex-page/[email protected]
with:
project: Project Board
column: 'test-approved-by-reviewer (Automated Column, do not place items here manually)'
repo-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }}
action: delete

0 comments on commit 698795f

Please sign in to comment.