Skip to content

feat: Vantage tile #1513

feat: Vantage tile

feat: Vantage tile #1513

Workflow file for this run

# This looks like a confusing workflow, but it has a purpose (✿ ◕‿◕)
# It functions kind of as a workflow shim. We can't setup other important workflows to run on pull_request (due to forks), so we setup this workflow to be triggered by pull_request and it is always able to run.
# When it is finished running, it triggers the other important workflows -- submit_packs, etc.
# Having it setup this way allows us to have manual approval for this workflow run, and then the subsequent triggered runs can access secrets in the repository for validation (even for forked PRs).
name: Submit Gate
on:
pull_request:
branches:
- release
types: [closed]
jobs:
upload-artifact:
runs-on: ubuntu-latest
if: ${{github.event.pull_request.merged}}
steps:
# This is used so that subsequent triggered workflows have access to the PR number that triggered this workflow.
# This is needed for PRs from forks which don't have access to certain information on github.event (or it isn't even available in the first place).
- name: write pr number
run: echo "${{ github.event.pull_request.number }}" > pr_number_submit.txt
- name: upload artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
path: pr_number_submit.txt