-
-
Notifications
You must be signed in to change notification settings - Fork 778
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
creating another pr with minor edits (#3897)
- Loading branch information
1 parent
e6d659a
commit 698795f
Showing
1 changed file
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |