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

Do not run PR linting if PR is not open #303

Closed
4 tasks done
redeboer opened this issue Mar 7, 2024 · 0 comments · Fixed by ComPWA/actions#65
Closed
4 tasks done

Do not run PR linting if PR is not open #303

redeboer opened this issue Mar 7, 2024 · 0 comments · Fixed by ComPWA/actions#65
Assignees
Labels
⚙️ Enhancement Improvements and optimizations of existing features

Comments

@redeboer
Copy link
Member

redeboer commented Mar 7, 2024

Simply add

if: github.event.pull_request.state == 'open'

to each job under pr-linting.yaml.

Optionally, we can outsource the linting to ComPWA/actions/.github/workflows/pr-linting.yml if it is gets a workflow call.

Tasks

  1. ⚙️ Enhancement
    redeboer
  2. ✨ Feature
    redeboer
  3. ⚙️ Enhancement
    redeboer
  4. 🖱️ DX
    redeboer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Enhancement Improvements and optimizations of existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant