Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/opencode-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
audit:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 20
permissions:
id-token: write
contents: write
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/opencode-test-writer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
with:
ref: ${{ github.event.repository.default_branch }}
fetch-depth: 0
token: ${{ github.token }}
token: ${{ secrets.OPENCODE_PAT }}

- name: Ensure test label exists
run: |
Expand All @@ -147,7 +147,7 @@
--color "0E8A16"
fi
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.OPENCODE_PAT }}

- name: Check for existing PR
id: check-existing
Expand All @@ -167,7 +167,7 @@
echo "skip=false" >> "$GITHUB_OUTPUT"
fi
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.OPENCODE_PAT }}

- name: Validate scan paths exist
if: steps.check-existing.outputs.skip != 'true'
Expand All @@ -192,8 +192,8 @@
if: steps.check-existing.outputs.skip != 'true'
uses: anomalyco/opencode/github@latest
env:
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.OPENCODE_PAT }}
GH_TOKEN: ${{ secrets.OPENCODE_PAT }}
MINIMAX_API_KEY: ${{ secrets.MINIMAX_API_KEY }}
XDG_CACHE_HOME: /tmp/opencode-cache
with:
Expand Down Expand Up @@ -228,7 +228,7 @@

- name: Trigger downstream workflows
if: steps.check-existing.outputs.skip != 'true'
run: |

Check warning on line 231 in .github/workflows/opencode-test-writer.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:7:55: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/opencode-test-writer.yml:231:9: shellcheck reported issue in this script: SC2086:info:7:55: Double quote to prevent globbing and word splitting [shellcheck]

Check warning on line 231 in .github/workflows/opencode-test-writer.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:6:52: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/opencode-test-writer.yml:231:9: shellcheck reported issue in this script: SC2086:info:6:52: Double quote to prevent globbing and word splitting [shellcheck]
sleep 5
BRANCH="${{ steps.select-module.outputs.branch }}"
PR_NUM=$(gh pr list --base dev --head "$BRANCH" --label automated-test --state open --json number --jq '.[0].number')
Expand All @@ -242,4 +242,4 @@
echo "No PR found to trigger workflows"
fi
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.OPENCODE_PAT }}
Loading