diff --git a/.github/workflows/context.yml b/.github/workflows/context.yml index a6c987f6..d9c0afc8 100644 --- a/.github/workflows/context.yml +++ b/.github/workflows/context.yml @@ -3,6 +3,7 @@ name: context on: pull_request: types: + - edited - opened - synchronize # default - ready_for_review @@ -64,5 +65,5 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: `event: ${{ github.event_name }}\n- github.event.pull_request.head.sha: ${{ github.event.pull_request.head.sha }}\n - github.sha: ${{ github.sha }}` + body: `github.event_name: ${{ github.event_name }} (github.event.action: ${{ github.event.action }})\n- github.event.pull_request.head.sha: ${{ github.event.pull_request.head.sha }}\n - github.sha: ${{ github.sha }}` }) diff --git a/README.md b/README.md index ae2c85e3..406c86da 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,7 @@ pull_request: types: [assigned, opened, synchronize, reopened, ready_for_review] ``` + - action: `${{ github.event.action }}` - Get PR number: `PR_NUMBER=${{ github.event.number }}` - Get sha: `${{ github.sha }}` - Get repository: `${{ github.repository }}`