From a98d4239090d9fb65c59833f08e1e660ba458202 Mon Sep 17 00:00:00 2001 From: beckermr Date: Fri, 6 Sep 2024 10:02:23 -0500 Subject: [PATCH] test: test it out --- .github/workflows/pr.yml | 26 ++++++++++++++++++++++++++ requests/test-request.yml | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 requests/test-request.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 23def4d8..21df79a3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -27,3 +27,29 @@ jobs: run: | conda activate cf python -m conda_forge_admin_requests check + + - name: Generate token + id: generate_token + uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3 + with: + app-id: ${{ secrets.CF_CURATOR_APP_ID }} + private-key: ${{ secrets.CF_CURATOR_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} + + - name: Process requests based on YAML files + shell: bash -el {0} + run: | + git config --global user.email "79913779+conda-forge-curator[bot]@users.noreply.github.com" + git config --global user.name "conda-forge-curator[bot]" + python -m conda_forge_admin_requests run + env: + PROD_BINSTAR_TOKEN: ${{ secrets.PROD_BINSTAR_TOKEN }} + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} + CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }} + TRAVIS_TOKEN: ${{ secrets.CF_ADMIN_TRAVIS_TOKEN }} + AZURE_TOKEN: ${{ secrets.AZURE_TOKEN }} + DRONE_TOKEN: ${{ secrets.DRONE_TOKEN }} + CIRUN_API_KEY: ${{ secrets.CIRUN_API_KEY }} + GITHUB_ADMIN_TOKEN: ${{ secrets.CF_ADMIN_GITHUB_TOKEN }} + CIRUN_INSTALLATION_ID: ${{ secrets.CIRUN_INSTALLATION_ID }} + STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} diff --git a/requests/test-request.yml b/requests/test-request.yml new file mode 100644 index 00000000..a03f6e83 --- /dev/null +++ b/requests/test-request.yml @@ -0,0 +1,4 @@ +action: add_feedstock_output +feedstock_to_output_mapping: + cf-autotick-bot-test-package-feedstock: blahblahblah5 + cf-autotick-bot-test-package: blahblahblah6