Skip to content

Commit

Permalink
Feat: Add new action to enumerate project/repo names (#387) (#388)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Watkins <[email protected]>
Signed-off-by: Modeseven Industrial Solutions <[email protected]>
  • Loading branch information
ModeSevenIndustrialSolutions authored Sep 18, 2024
1 parent a821025 commit 1e605eb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,30 @@ jobs:
fetch-tags: true
# The semantic-tag-fetch action currently contains a workaround for this behaviour

- name: "Action: python-project-naming"
id: python-project-naming
# yamllint disable-line rule:line-length
uses: os-climate/osc-github-devops/.github/actions/python-project-naming@main

#- name: "Validate: python-project-naming"
#shell: bash
#run: |
# Check output from: python-project-naming
#ERRORS="false"
#if [ "${{ steps.semantic-tag-validate-good.outputs.valid }}" != "true" ]; then
# ERRORS="true"
#fi
## echo "Errors with: semantic-tag-validate v1.2.3"
#if [ "${{ steps.semantic-tag-validate-junk.outputs.valid }}" != "false" ]; then
# echo "Errors with: semantic-tag-production v1.not-valid.3.garbage"
# ERRORS="true"
#fi
#if [ "$ERRORS" = "true" ]; then
# echo "ERROR: check semantic tag validation action/code"; exit 1
#else
# echo "All tag validation tests passed, no errors found"
#fi

- name: "Action: repository-classify-content"
id: repository-classify-content
# yamllint disable-line rule:line-length
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
- name: "Extract project/repository naming"
id: naming
# yamllint disable-line rule:line-length
uses: os-climate/osc-github-devops/.github/actions/python-project-name@main
uses: os-climate/osc-github-devops/.github/actions/python-project-naming@main

python-build:
name: "Build"
Expand Down

0 comments on commit 1e605eb

Please sign in to comment.