From bde3e68c6bc25b0d35a1f074318130823ee86936 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 22 Oct 2025 12:07:15 -0700 Subject: [PATCH 1/3] Simplify gh-aw installation in CI workflow --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8645b8..1dcbf0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install gh-aw - run: | - curl -fsSL https://raw.githubusercontent.com/githubnext/gh-aw/refs/heads/main/install-gh-aw.sh -o /tmp/install-gh-aw.sh - bash /tmp/install-gh-aw.sh + run: gh extension install githubnext/gh-aw + env: + GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }} - name: Verify gh-aw installation run: ./gh-aw --version + env: + GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }} - name: Compile workflows run: ./gh-aw compile --workflows-dir workflows --verbose + env: + GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }} From 00237e5b9305abda34dadc786257c743ad12f53e Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 22 Oct 2025 12:09:24 -0700 Subject: [PATCH 2/3] Fix GitHub token reference in CI workflow --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1dcbf0c..c3ca2c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,12 +14,12 @@ jobs: - name: Install gh-aw run: gh extension install githubnext/gh-aw env: - GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Verify gh-aw installation run: ./gh-aw --version env: - GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Compile workflows run: ./gh-aw compile --workflows-dir workflows --verbose env: - GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From ff2fddd9ce6e58adc609708a6d9b3285a2bc28bf Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 22 Oct 2025 12:11:18 -0700 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3ca2c0..66574b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Verify gh-aw installation - run: ./gh-aw --version + run: gh aw --version env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Compile workflows - run: ./gh-aw compile --workflows-dir workflows --verbose + run: gh aw compile --workflows-dir workflows --verbose env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}