-
Notifications
You must be signed in to change notification settings - Fork 3
test #361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
test #361
Changes from all commits
1b199e8
56bea83
b7a58a0
698b967
6e91358
d2fa7db
3b6cd63
f21be3f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,16 @@ | ||
| --- | ||
| name: test | ||
| on: | ||
| pull_request: | ||
| types: [closed] | ||
| pull_request_review: | ||
| types: [submitted] | ||
| on: pull_request | ||
| jobs: | ||
| test: | ||
| if: | | ||
| endsWith(github.event.pull_request.user.login, '[bot]') && | ||
| ((github.event_name == 'pull_request_review' && github.event.review.state == 'approved') || | ||
| github.event_name == 'pull_request') | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 15 | ||
| permissions: | ||
| pull-requests: write | ||
| contents: read | ||
| permissions: {} | ||
| steps: | ||
| - uses: suzuki-shunsuke/notify-bot-pr-event-action@pr/1 | ||
| - uses: suzuki-shunsuke/update-pr-branch-action@latest | ||
| with: | ||
| # max_behind_by: 0 | ||
| app_id: ${{ vars.APP_ID }} | ||
| app_private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
|
Comment on lines
+11
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: cat -n .github/workflows/test.yamlRepository: szksh-lab-2/test-github-action Length of output: 550 🌐 Web query:
💡 Result: In GitHub Actions, workflows triggered by What to do instead (common patterns)
Sources: Citations:
Guard against forked PRs with missing secrets.
🔧 Suggested guard jobs:
test:
+ if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-24.04🤖 Prompt for AI Agents |
||
| files: | | ||
| aqua/** | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
suzuki-shunsuke/update-pr-branch-action GitHub releases tags versions💡 Result:
suzuki-shunsuke/update-pr-branch-action — tags & releases (versions)
Git tags
The repository currently has these version tags (all created Feb 4, 2026): v0.0.1, v0.0.2, v0.0.3, v0.0.4. [1]
GitHub Releases
“latest” / rolling tag note
The README examples use
uses: suzuki-shunsuke/update-pr-branch-action@latest. [3]However, the repo’s Tags page shows only
v0.0.1–v0.0.4(nolatesttag listed). [1]Pin the action version instead of
@latest.@latestis mutable and can introduce unreviewed changes. The action has stable releases available (v0.0.3 is current, v0.0.4 is pre-release). Pin to a specific tag like@v0.0.3for reproducibility and supply-chain safety.🔒 Suggested pinning
📝 Committable suggestion
🤖 Prompt for AI Agents