Skip to content
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

ci: Use pull_request_target trigger instead #58

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Conversation

siketyan
Copy link
Contributor

With pull_request trigger, we can't attach write permissions to GitHub Actions for the pull requests from a forked repository. This pull request proposes to use pull_request_target trigger instead, so it'll always refer the workflow in the default branch (instead of HEAD), with ability to give write permissions.

@siketyan siketyan self-assigned this Nov 24, 2023
@siketyan siketyan requested review from mitsuharu, ykws and novr November 24, 2023 02:07
Copy link
Member

@novr novr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

対応ありがとうございます

.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PR で GitHub Actions が実行されると Resource not accessible by integration が発生する
2 participants