Add an option to create draft pull requests #163
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: Go | |
on: | |
workflow_call: | |
push: | |
branches: | |
- "main" | |
- "gh-readonly-queue/**/*" | |
pull_request: | |
branches: "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: Build | |
run: | | |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
./scripts/cibuild | |
- name: Archive binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: maiao | |
path: | | |
dist |