Skip to content

added rel attribute to anchor tag #2277

added rel attribute to anchor tag

added rel attribute to anchor tag #2277

name: Pull Request Trigger
on:
pull_request_target:
types: [opened, closed]
branches:
- 'gh-pages'
jobs:
# Run an echo to confirm that the action was triggered
Hello-World:
runs-on: ubuntu-latest
steps:
- run: echo "🍺 This job was automatically triggered by a ${{ github.event_name }} event."
# Moves newly opened PRs onto Project Board in column 'PR Needs review...'
Move-New-PRs-To-Project-Board:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' }}
steps:
- name: Move Opened PR to Project Board
uses: alex-page/[email protected]
with:
project: Project Board
column: 'PR Needs review (Automated Column, do not place items here manually)'
repo-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }}
# 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
# Removes PRs that are closed and not merged
Delete-Closed-And-Unmerged-PRs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged == false && github.event.action == 'closed' }}
steps:
- name: Delete Closed and Unmerged PRs
uses: alex-page/[email protected]
with:
project: Project Board
column: 'PR Needs review (Automated Column, do not place items here manually)'
repo-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }}
action: delete