diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 275c3db..3a2e4c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,9 +1,5 @@ name: Main -on: - push: - branches: [ main ] - pull_request: - types: [opened, synchronize] +on: [push, pull_request] jobs: ci: diff --git a/.github/workflows/github-action.yaml b/.github/workflows/local-github-action.yaml similarity index 85% rename from .github/workflows/github-action.yaml rename to .github/workflows/local-github-action.yaml index 78a8493..93f0e51 100644 --- a/.github/workflows/github-action.yaml +++ b/.github/workflows/local-github-action.yaml @@ -1,8 +1,5 @@ name: Test GitHub Action -on: - push: - pull_request: - types: [opened, synchronize] +on: [push, pull_request] jobs: test_github_action: diff --git a/.github/workflows/published-github-action.yaml b/.github/workflows/published-github-action.yaml new file mode 100644 index 0000000..a000b9f --- /dev/null +++ b/.github/workflows/published-github-action.yaml @@ -0,0 +1,15 @@ +name: Test GitHub Action +on: [push, pull_request] + +jobs: + test_github_action: + container: node:20.9.0@sha256:62efd17e997bc843aefa4c003ed84f43dfac83fa6228c57c898482e50a02e45c + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: GitHub Action + uses: specfy/stack-analyser diff --git a/action.yml b/action.yml index 0e8daa0..f7a497c 100644 --- a/action.yml +++ b/action.yml @@ -3,11 +3,6 @@ author: Specfy description: |- Run Specfy's Stack Analyser and send update to Specfy API -inputs: - token: - description: |- - Specfy Project's Token - required: true runs: using: 'docker'