https://www.youtube.com/watch?v=ozyevXQEKvc #856
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
name: PoolParty Deploy | |
on: | |
pull_request: | |
types: [assigned, opened, synchronize, reopened] | |
jobs: | |
lifeguard: | |
if: github.base_ref == 'r2d' || github.base_ref == 'main' || github.base_ref == 'production' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: r2d | |
- name: Label this PR with automerge #NOTE(Rejon): This will fail if the PR is from a fork. | |
uses: TimonVS/pr-labeler-action@v3.1.0 | |
with: | |
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |