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

[INLONG-4205][CI] Fix error in the greeting workflow #4206

Merged
merged 1 commit into from
May 15, 2022

Conversation

shink
Copy link
Member

@shink shink commented May 14, 2022

fix: #4205

Motivation

Fix error in the greeting workflow.

The pull_request_target event is similar to pull_request, except that it runs in the context of the base repository of the pull request, rather than in the merge commit. This means that you can more safely make your secrets available to the workflows triggered by the pull request, because only workflows defined in the commit on the base repository are run. For example, this event allows you to create workflows that label and comment on pull requests, based on the contents of the event payload.

reference:

Modifications

  • replace pull_request with pull_request_target

@shink shink self-assigned this May 14, 2022
@github-actions github-actions bot added the service/ci Automatically confirm that the code is error-free label May 14, 2022
@shink shink changed the title [INLONG-4205] Fix error in the greeting workflow [INLONG-4205][CI] Fix error in the greeting workflow May 14, 2022
@healchow healchow merged commit 95474b0 into apache:master May 15, 2022
leosanqing pushed a commit to leosanqing/incubator-inlong that referenced this pull request May 16, 2022
@healchow healchow added github and removed service/ci Automatically confirm that the code is error-free labels Jun 8, 2022
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.

[Bug][GitHub] Error in the greeting workflow
3 participants