Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'

env:
GO_VERSION: 1.22.4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'
paths:
- tool/**

Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/cherry_pick.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: cherry_pick

on:
workflow_dispatch:
inputs:
releaseBranch:
description: 'release branch (e.g. release-v0.48.x)'
required: true
type: string
version:
description: 'release version (e.g. v0.48.1)'
required: true
type: string
jobs:
tool:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make a cherry-pick PR
run: |
git config user.name "pipecd-bot"
git config user.email "[email protected]"
./hack/cherry-pick.sh -q ${{ inputs.releaseBranch }} $(gh pr list --label cherry-pick --label ${{ inputs.version }} --state merged | awk '{print $1}' | sort | paste -sd ' ' -)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'

env:
GO_VERSION: 1.22.4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'

env:
GO_VERSION: 1.22.4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'
paths:
- tool/**

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ lint/web: FIX ?= false
lint/web:
ifeq ($(FIX),true)
yarn --cwd web lint:fix
yarn --cwd web typecheck
else
yarn --cwd web lint
yarn --cwd web typecheck
endif

# Update commands
Expand Down
2 changes: 1 addition & 1 deletion hack/cherry-pick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ echo
# Cherry-pick pull requests
COMMITS=$(join " " "${COMMIT_HASHS[@]}")
echo "+++ Cherry-picking pull requests"
git cherry-pick ${COMMITS}
git cherry-pick -s ${COMMITS}
echo

# Check whether to push commits and create a pull request or not
Expand Down