diff --git a/README.md b/README.md index 9923a20..705cbca 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ GitHub actions. None. The action uses the GitHub action environment variables to obtain the workflow name and branch. You must, however, -set the `GITHUB_TOKEN` and `GITHUB_RUN_ID` environment variables: +set the `GITHUB_TOKEN` environment variable: ## Example usage @@ -18,7 +18,6 @@ set the `GITHUB_TOKEN` and `GITHUB_RUN_ID` environment variables: uses: rokroskar/workflow-run-cleanup-action env: GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }} - GITHUB_RUN_ID: ${{ github.run_id }} ``` You may want to disable this action from running on tags or master, @@ -36,7 +35,6 @@ on: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - GITHUB_RUN_ID: ${{ github.run_id }} if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" ... other-jobs: