mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
30 lines
945 B
YAML
30 lines
945 B
YAML
name: "clear pending status"
|
|
|
|
on:
|
|
check_suite:
|
|
types: [ completed ]
|
|
|
|
jobs:
|
|
action:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: clear pending status
|
|
if: github.repository_owner == 'NixOS' && github.event.check_suite.app.name == 'OfBorg'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GSU_VERSION: "0.5.0"
|
|
GSU_URL: "https://github.com/cloudposse/github-status-updater/releases/download"
|
|
run: |
|
|
curl -sSf -O -L -C - \
|
|
"$GSU_URL/$GSU_VERSION/github-status-updater_linux_amd64" && \
|
|
chmod +x github-status-updater_linux_amd64 && \
|
|
./github-status-updater_linux_amd64 \
|
|
-action update_state \
|
|
-token "$GITHUB_TOKEN" \
|
|
-owner NixOS \
|
|
-repo nixpkgs \
|
|
-state success \
|
|
-context "Wait for ofborg" \
|
|
-description " " \
|
|
-url " " \
|
|
-ref "${{ github.event.check_suite.head_sha }}"
|