Skip to content

#11 Docker Environment #28

#11 Docker Environment

#11 Docker Environment #28

Workflow file for this run

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
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}}"