surgeon #66
This file contains hidden or 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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: surgeon | |
on: | |
schedule: | |
# Runs "At 00:01 every night" (UTC) | |
- cron: '1 0 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.24' | |
- name: Tools | |
run: go install github.com/bketelsen/surgeon/cmd/[email protected] | |
- name: surgeon | |
run: surgeon | |
- name: index | |
run: ./misc/index.sh | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: pull upstream changes | |
branch: surgeon-patch | |
delete-branch: true |