ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

wait for hydra action (#227)

Signed-off-by: marshmallow <github@althaea.zone>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

authored by

marshmallow
Copilot Autofix powered by AI
and committed by
GitHub
8c17aaef ed4546ca

+33
+33
.github/workflows/hydra.yml
··· 1 + permissions: 2 + contents: read 3 + pull-requests: read 4 + name: "Hydra" 5 + on: 6 + - pull_request 7 + 8 + concurrency: 9 + group: ${{ github.workflow }}-${{ github.ref }} 10 + cancel-in-progress: true 11 + 12 + jobs: 13 + add-status: 14 + runs-on: ubuntu-latest 15 + steps: 16 + - uses: jwalton/gh-find-current-pr@master 17 + id: find-pr 18 + with: 19 + state: all 20 + - name: Create Pending Docs Status 21 + uses: actions/github-script@v7 22 + if: contains(github.event.pull_request.labels.*.name, 'hydra') 23 + with: 24 + github-token: ${{ secrets.STATUS_TOKEN }} 25 + script: | 26 + github.rest.repos.createCommitStatus({ 27 + owner: context.repo.owner, 28 + repo: context.repo.repo, 29 + sha: context.sha, 30 + state: 'pending', 31 + description: 'Waiting for hydra to evaluate this PR...', 32 + context: 'ci/hydra:wire:pr_${{ steps.find-pr.outputs.number }}:packages.docs' 33 + })