Skip to content

Commit

Permalink
check suites api debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Jan 22, 2025
1 parent 936deef commit ad0ad77
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
build:
runs-on: ubuntu-latest

# temporarily disabling these jobs
if: false

strategy:
fail-fast: true
matrix:
Expand Down
34 changes: 11 additions & 23 deletions .github/workflows/nixos.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: NixOS

on:
check_run:
types: [failure]
pull_request:
paths-ignore:
- 'home/**'
push:
branches:
- master
paths-ignore:
- 'GNOME.md'
- 'README.md'
Expand All @@ -15,25 +19,6 @@ on:
- 'switch'
- '.mergify.yml'
- 'garnix.yaml'
#on:
#pull_request:
#paths-ignore:
#- 'home/**'
#push:
#branches:
#- master
#paths-ignore:
#- 'GNOME.md'
#- 'README.md'
#- 'notes/**'
#- '.git-crypt/**'
#- '.gitattributes'
#- '.gitignore'
#- 'home/**'
#- 'outputs/hm.nix'
#- 'switch'
#- '.mergify.yml'
#- 'garnix.yaml'

jobs:
build:
Expand All @@ -58,8 +43,11 @@ jobs:

- name: "DEBUG"
run: |
echo "Event state: ${{ github.event.state }}"
echo "Event desc: ${{ github.event.description }}"
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/gvolpe/nix-config/commits/${{ github.sha }}/check-suites
- name: "Install Nix ❄️"
uses: cachix/install-nix-action@v30
Expand Down

0 comments on commit ad0ad77

Please sign in to comment.