Skip to content

Commit

Permalink
Fix: Remove duplication in action (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Watkins <[email protected]>
  • Loading branch information
ModeSevenIndustrialSolutions authored Jul 18, 2024
1 parent f15ce59 commit fe86c42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
6 changes: 0 additions & 6 deletions .github/actions/latest-semantic-tag/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ runs:
id: parse-tags
shell: bash
run: |
# Workaround for: https://github.com/actions/checkout/issues/1471
echo "Fetching tags..."
git fetch --tags
echo "Listing tags:"
git tag -l
# Extract and report latest semantic tag
echo "Parsing tags..."
if ! (git tag -l | grep 'v*.*.*'); then
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ jobs:
name: "Testing: Composite Actions"
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
#permissions:
# contents: read
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
with:
# Does not current work: https://github.com/actions/checkout/issues/1471
fetch-tags: true

- name: "latest-semantic-tag"
id: test-latest-semantic-tag
# yamllint disable-line rule:line-length
uses: os-climate/devops-reusable-workflows/.github/actions/latest-semantic-tag@main
#env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fe86c42

Please sign in to comment.