🐛 migrate configs fetched from R2 to latest version on the fly #1347
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: Buildkite | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
destroy_staging: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: pip install requests | |
- name: Run script | |
env: | |
BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }} | |
BRANCH: ${{ github.event.pull_request.head.ref }} | |
run: | | |
python .github/scripts/buildkite_destroy_staging.py |