automerge: conda-forge/fractal-task-tools-feedstock@ce3d9f166f678f96282f127d26b1a3c4fc116744 [uuid=aee0677263fd4f5da76c92b5c8125dec] #1427203
Workflow file for this run
This file contains hidden or 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: automerge | |
| run-name: >- | |
| automerge: conda-forge/${{ inputs.repo }}@${{ inputs.sha }} [uuid=${{ inputs.uuid }}] | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| repo: | |
| description: 'the repository to run on' | |
| required: true | |
| type: string | |
| sha: | |
| description: 'the commit SHA to possibly merge' | |
| required: true | |
| type: string | |
| uuid: | |
| description: 'a unique identifier for this run' | |
| required: true | |
| type: string | |
| env: | |
| PY_COLORS: 1 | |
| defaults: | |
| run: | |
| shell: bash -leo pipefail {0} | |
| jobs: | |
| automerge: | |
| name: automerge | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.ref }} | |
| - name: setup conda | |
| uses: mamba-org/setup-micromamba@add3a49764cedee8ee24e82dfde87f5bc2914462 # v1 | |
| with: | |
| environment-file: conda-lock.yml | |
| environment-name: webservices | |
| condarc: | | |
| show_channel_urls: true | |
| channel_priority: strict | |
| channels: | |
| - conda-forge | |
| - name: generate token | |
| id: generate_token | |
| uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v1 | |
| with: | |
| app-id: ${{ secrets.CF_CURATOR_APP_ID }} | |
| private-key: ${{ secrets.CF_CURATOR_PRIVATE_KEY }} | |
| owner: ${{ github.repository_owner }} | |
| - name: install code | |
| run: | | |
| pip install --no-deps --no-build-isolation -e . | |
| - name: automerge | |
| run: | | |
| git config --global user.name "conda-forge-webservices[bot]" | |
| git config --global user.email "91080706+conda-forge-webservices[bot]@users.noreply.github.com" | |
| git config --global pull.rebase false | |
| conda-forge-webservices-automerge \ | |
| --repo=${{ inputs.repo }} \ | |
| --sha=${{ inputs.sha }} | |
| env: | |
| GH_TOKEN: ${{ steps.generate_token.outputs.token }} | |
| GH_TOKEN_FOR_ADMIN: ${{ secrets.CF_ADMIN_GITHUB_TOKEN }} | |