diff --git a/.changeset/fix-permission-contract.md b/.changeset/fix-permission-contract.md new file mode 100644 index 000000000..c40727410 --- /dev/null +++ b/.changeset/fix-permission-contract.md @@ -0,0 +1,6 @@ +--- +"@bradygaster/squad-sdk": patch +"@bradygaster/squad-cli": patch +--- + +Fix permission handler to use `approve-once` instead of deprecated `approved` kind, aligning with Copilot CLI v1.0.54+ permission contract diff --git a/.github/workflows/squad-docs-links.yml b/.github/workflows/squad-docs-links.yml index db3380bfa..046c49640 100644 --- a/.github/workflows/squad-docs-links.yml +++ b/.github/workflows/squad-docs-links.yml @@ -1,34 +1,34 @@ -name: Docs — Weekly Link Check - -on: - workflow_dispatch: - -jobs: - linkcheck: - runs-on: ubuntu-latest - permissions: - issues: write - steps: - - uses: actions/checkout@v4 - - - name: Check external links - id: lychee - uses: lycheeverse/lychee-action@v2 - with: - args: >- - --verbose - --no-progress - --timeout 30 - --max-retries 3 - --accept 200..=299,403,429 - 'docs/src/content/**/*.md' - 'README.md' - fail: false - - - name: Create issue on broken links - if: steps.lychee.outputs.exit_code != 0 - uses: peter-evans/create-issue-from-file@v5 - with: - title: '🔗 Broken external links detected' - content-filepath: ./lychee/out.md - labels: docs, automated +name: Docs — Weekly Link Check + +on: + workflow_dispatch: + +jobs: + linkcheck: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/checkout@v4 + + - name: Check external links + id: lychee + uses: lycheeverse/lychee-action@v2 + with: + args: >- + --verbose + --no-progress + --timeout 30 + --max-retries 3 + --accept 200..=299,403,429 + 'docs/src/content/**/*.md' + 'README.md' + fail: false + + - name: Create issue on broken links + if: steps.lychee.outputs.exit_code != 0 + uses: peter-evans/create-issue-from-file@v5 + with: + title: '🔗 Broken external links detected' + content-filepath: ./lychee/out.md + labels: docs, automated