diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 6b46ebbb..a2711211 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -19,7 +19,10 @@ permissions: contents: write jobs: + test: + uses: ./.github/workflows/test.yml dependabot: + needs: test runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab379838..9228f0a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: npm run lint npm test - name: Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: extra_plugins: | @semantic-release/commit-analyzer diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 141812ef..59e546c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ # limitations under the License. name: Test -on: [push, pull_request] +on: [push, pull_request, workflow_call] jobs: test: runs-on: ubuntu-latest