From 9ced8d4b312ec247e4ff918055d964885a27812a Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Fri, 22 Sep 2023 15:11:12 -0300 Subject: [PATCH] Fixing typo and using reusable workflows --- .github/workflows/lint.yml | 9 ++------- .github/workflows/semver.yml | 13 ++++++------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4bd1940..091b703 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ +--- name: Code Linting - on: pull_request: branches: @@ -8,9 +8,4 @@ on: jobs: Lint: - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - name: Run CodeSniffer - uses: discoverygarden/CodeSniffer@v1 + uses: discoverygarden/CodeSniffer/.github/workflows/lint.yml@v1 diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml index 9d4e550..7a9c768 100644 --- a/.github/workflows/semver.yml +++ b/.github/workflows/semver.yml @@ -1,13 +1,12 @@ -name: Auto Semver +--- +name: Semantic Version Tagging on: pull_request_target: types: closed branches: - main + jobs: - update: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - name: Run Auto Semver - uses: discoverygarden/auto-semever@v1 + tag_update: + name: Tag Update + uses: discoverygarden/auto-semver/.github/workflows/semver.yml@v1