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: Add "sem-pr: docs" label to automatically created PRs #35

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

hankei6km
Copy link
Owner

The PR created by the "release.yml" workflow does not trigger the "label.yml"
workflow because it contains "[skip ci]".

Therefore, add a label when creating a PR.

The PR created by the "release.yml" workflow does not trigger the "label.yml"
workflow because it contains "[skip ci]".

Therefore, add a label when creating a PR.
@github-actions github-actions bot added the sem-pr: ci Continuous integration changes label Dec 31, 2023
Copy link
Owner Author

commit に [skip ci] を含めてしまったのでテストのワークフローがスキップされてしまった
("label,yml" は pull_request_target イベントを使うのでスキップされていない)。

src/ 部分は変更していないので、そのままマージ。

@hankei6km hankei6km merged commit b1a192c into main Dec 31, 2023
1 check passed
@hankei6km hankei6km deleted the topic/docs-label branch December 31, 2023 07:07
@hankei6km
Copy link
Owner Author

pull_request_target が skip されないなら #31 などで skip されている理由は?

https://docs.github.com/ja/actions/managing-workflow-runs/skipping-workflow-runs

注: スキップ手順は、push pull_request イベントにのみ適用されます。 たとえば、コミット メッセージに [skip ci] を追加しても、トリガーされた on: pull_request_target であるワークフローの実行は停止されません。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sem-pr: ci Continuous integration changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant