diff --git a/.github/workflows/auto-semver.yml b/.github/workflows/auto-semver.yml deleted file mode 100644 index 76583ce..0000000 --- a/.github/workflows/auto-semver.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Auto Semver -on: - pull_request_target: - types: closed - branches: - - 8.x-2.x -jobs: - update: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Auto Semver Action Repo - uses: actions/checkout@v2 - with: - repository: discoverygarden/auto-semver - ref: v1 - token: ${{ secrets.GITHUB_TOKEN }} - path: .github/actions/auto-semver - - name: Run Auto Semver - uses: ./.github/actions/auto-semver - with: - token: ${{ secrets.GITHUB_TOKEN }} - prefix: v diff --git a/.github/workflows/auto-lint.yml b/.github/workflows/lint.yml similarity index 76% rename from .github/workflows/auto-lint.yml rename to .github/workflows/lint.yml index d847a0b..797e9d6 100644 --- a/.github/workflows/auto-lint.yml +++ b/.github/workflows/lint.yml @@ -1,17 +1,16 @@ +--- name: Code Linting - on: pull_request: branches: - 8.x-2.x + workflow_dispatch: jobs: Lint: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run CodeSniffer uses: discoverygarden/CodeSniffer@v1 - with: - path: ./ diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml new file mode 100644 index 0000000..e99ae18 --- /dev/null +++ b/.github/workflows/semver.yml @@ -0,0 +1,14 @@ +--- +name: Auto Semver +on: + pull_request_target: + types: closed + branches: + - 8.x-2.x +jobs: + update: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - name: Run Auto Semver + uses: discoverygarden/auto-semver@v1