diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 3c570c3..a7105ec 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,6 +1,7 @@ name: Demo on: + push: pull_request: branches: - master @@ -23,7 +24,6 @@ jobs: version: "tags/v0.1.18" file: "plague-linux.zip" target: "subdir/plague-linux.zip" - token: ${{ secrets.GITHUB_TOKEN }} - name: Display the details run: | echo ${{ steps.get_release.outputs.version }} diff --git a/action.yaml b/action.yaml index bdf1622..5073df3 100644 --- a/action.yaml +++ b/action.yaml @@ -18,7 +18,8 @@ inputs: required: false token: description: 'The GitHub token. Typically this will be secrets.GITHUB_TOKEN' - required: true + required: false + default: ${{ github.token }} runs: using: 'docker'