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

Update code-coverage.yml #172

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Update code-coverage.yml #172

merged 1 commit into from
Feb 21, 2023

Conversation

fridgepoet
Copy link
Member

Motivation: pull_request is actually describing the target branch. So the check for the name of the PR branch is handled in if: !startsWith(github.head_ref, 'dependabot')
See the doc page here:
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows

To run a job based on the pull request's head branch name (as opposed to the pull request's base branch name), use the github.head_ref context in a conditional.

Description:This change makes it so that any PR branch which starts with dependabot skips the Code Coverage workflow.

Part of grafana/code-coverage#17

@fridgepoet fridgepoet requested a review from a team as a code owner February 21, 2023 13:32
@github-actions
Copy link

Backend code coverage report for PR #172
No changes

@github-actions
Copy link

Frontend code coverage report for PR #172
No changes

@github-actions
Copy link

github-actions bot commented Feb 21, 2023

Levitate is-compatible report:

🔍 Resolving @grafana/data@latest...
🔍 Resolving @grafana/ui@latest...
🔍 Resolving @grafana/runtime@latest...
🔍 Resolving @grafana/e2e-selectors@latest...

🔬 Checking compatibility between ./src/module.ts and @grafana/data@9.3.6...
✔ Found @grafana/data version 8.4.11 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/ui@9.3.6...
✔ Found @grafana/ui version 8.4.11 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/runtime@9.3.6...
✔ Found @grafana/runtime version 8.4.11 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/e2e-selectors@9.3.6...
✔ Found @grafana/e2e-selectors version 8.4.11 locally

✔️ ./src/module.ts appears to be compatible with @grafana/data,@grafana/ui,@grafana/runtime,@grafana/e2e-selectors

@fridgepoet fridgepoet merged commit d362533 into main Feb 21, 2023
@fridgepoet fridgepoet deleted the trigger branch February 21, 2023 15:20
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.

None yet

2 participants