Skip to content

Commit

Permalink
Merge pull request #17 from HamletTanyavong/dev
Browse files Browse the repository at this point in the history
Update job name
  • Loading branch information
HamletTanyavong authored Oct 22, 2023
2 parents 305192e + 4d1d5b8 commit 0e95702
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/branch-enforcer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ on:
pull_request:

jobs:
check_branch:
check-branch:
name: "Check Branch"
runs-on: ubuntu-latest
steps:
- name: Check branch
- name: Check Branch
if: github.base_ref == 'main' && github.head_ref != 'dev'
run: |
echo "ERROR: Can only merge to main branch from dev branch"
Expand Down
2 changes: 1 addition & 1 deletion Mathematics.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{9EB2
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{1B32D7FF-257B-49BB-B495-D64E5E6C4C82}"
ProjectSection(SolutionItems) = preProject
branch-enforcer.yml = branch-enforcer.yml
.github\workflows\branch-enforcer.yml = .github\workflows\branch-enforcer.yml
.github\workflows\codeql.yml = .github\workflows\codeql.yml
.github\workflows\generate-documentation-site.yml = .github\workflows\generate-documentation-site.yml
EndProjectSection
Expand Down

0 comments on commit 0e95702

Please sign in to comment.