Skip to content

Fix Github Actions PR event checks.#2661

Merged
brandonpage merged 2 commits intoforcedotcom:devfrom
brandonpage:migrate-github-actions
Jan 30, 2025
Merged

Fix Github Actions PR event checks.#2661
brandonpage merged 2 commits intoforcedotcom:devfrom
brandonpage:migrate-github-actions

Conversation

@brandonpage
Copy link
Contributor

@brandonpage brandonpage commented Jan 30, 2025

This PR adds a is_pr input parameter to our reusable-workflow. The value of github.event_name changes from pull_request (or however the original flow started) to workflow_call in the reusale-workflow since that is technically how the reusable-workflow was triggered.

CI will fail because it runs the workflow file on dev. Tested here.

pull_request_target:
branches:
- dev
branches: [dev, master]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

CI should run on master too. See this discussion.

@brandonpage brandonpage merged commit 3ab2a69 into forcedotcom:dev Jan 30, 2025
2 of 3 checks passed
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.

2 participants