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

Rename workflow file to avoid precommit/Makefile collision #36

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

colindean
Copy link
Contributor

I noted in CI run https://github.com/target/make-python-devex/actions/runs/9387484385/job/25850507307 that the Makefile pre-commit check was picking up makefile.yml as a Makefile. This rename avoids that.

Makefile linter/analyzer.................................................Failed
- hook id: checkmake
- exit code: 6

RULE                 DESCRIPTION                       FILE NAME              LINE NUMBER  
                                                                                                 
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "all"                                                                          
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "clean"                                                                        
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "test"                                                                         
  phonydeclared   Target "name" should be          .github/workflows/makefile.yml   1            
                  declared PHONY.                                                                
  phonydeclared   Target "on" should be declared   .github/workflows/makefile.yml   3            
                  PHONY.                                                                         
  phonydeclared   Target "jobs" should be          .github/workflows/makefile.yml   9            
                  declared PHONY.

…collision

I noted in CI run https://github.com/target/make-python-devex/actions/runs/9387484385/job/25850507307 that the Makefile pre-commit check was picking up makefile.yml as a Makefile. This rename avoids that.

```
Makefile linter/analyzer.................................................Failed
- hook id: checkmake
- exit code: 6

RULE                 DESCRIPTION                       FILE NAME              LINE NUMBER  
                                                                                                 
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "all"                                                                          
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "clean"                                                                        
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "test"                                                                         
  phonydeclared   Target "name" should be          .github/workflows/makefile.yml   1            
                  declared PHONY.                                                                
  phonydeclared   Target "on" should be declared   .github/workflows/makefile.yml   3            
                  PHONY.                                                                         
  phonydeclared   Target "jobs" should be          .github/workflows/makefile.yml   9            
                  declared PHONY.

```
@colindean colindean merged commit 22fccc9 into main Jun 7, 2024
5 checks passed
@colindean colindean deleted the rename-make-ci-for-precommit branch June 7, 2024 20:58
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.

1 participant