Skip to content

Update go-github to v55 #126

Update go-github to v55

Update go-github to v55 #126

Workflow file for this run

name: Go
on:
pull_request:
push:
branches: [master]
permissions:
contents: write
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Lint
uses: golangci/[email protected]
with:
version: v1.53
- name: Test
run: go test -v ./...
env:
PATCH2PR_TEST_REPO: ${{ github.repository }}
PATCH2PR_TEST_GITHUB_TOKEN: ${{
(github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'))
&& secrets.GITHUB_TOKEN
|| ''
}}