From 26be07f5df9639712bc23716b465dba046e1b4c3 Mon Sep 17 00:00:00 2001 From: JojoVes Date: Thu, 14 Nov 2024 15:43:41 -0400 Subject: [PATCH] update workflows to their reusable versions --- .github/workflows/lint.yml | 8 ++------ .github/workflows/semver.yml | 12 +++++------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e302f01e..091b703a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,3 +1,4 @@ +--- name: Code Linting on: pull_request: @@ -7,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 fddb435b..0828e4ac 100644 --- a/.github/workflows/semver.yml +++ b/.github/workflows/semver.yml @@ -1,13 +1,11 @@ -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-semver@v1 + tag_update: + name: Tag Update + uses: discoverygarden/auto-semver/.github/workflows/semver.yml@v1