[executorch][passes] Add config and pass to tag constants for external file #162
Workflow file for this run
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: Propose to merge ghstack orig PRs to main | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- 'gh/*/[0-9]+/base' | |
jobs: | |
ghstack_merge_to_main: | |
name: Try to create a PR with ghstack /orig branch | |
runs-on: ubuntu-22.04 | |
environment: cherry-pick-bot | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Try to merge PR to main | |
run: | | |
pip install pygithub | |
python .github/scripts/propose_ghstack_orig_pr.py --ref $GITHUB_REF --repo pytorch/executorch | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PYTORCHBOT_CHERRY_PICK_TOKEN }} | |
GITHUB_REF: ${{ github.ref }} |