Ensure, we always also send SIGTERM on end of a session to the underlying process. #225
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull-Requests Updates | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }}-${{github.event.number}} | |
on: | |
pull_request: | |
types: | |
- labeled | |
- unlabeled | |
- closed | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Inspect | |
if: github.event_name == 'pull_request' | |
permissions: | |
pull-requests: read | |
actions: write | |
packages: write | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
cache: false | |
go-version-file: go.mod | |
check-latest: true | |
- name: Cache Go | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Execute | |
id: refs | |
run: | | |
set -ex | |
go run ./cmd/build inspect-pr-action --log.colorMode=always "${{github.event.action}}" "${{github.event.number}}" "${{github.event.label.name}}" |