From a3897ebb7d4770cc07f55e7a0d3862ca95ba6938 Mon Sep 17 00:00:00 2001 From: reggie-k Date: Thu, 19 Sep 2024 15:07:38 +0300 Subject: [PATCH] cleanup Signed-off-by: reggie-k --- .github/workflows/reggie-create-pr.yaml | 42 ------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/reggie-create-pr.yaml diff --git a/.github/workflows/reggie-create-pr.yaml b/.github/workflows/reggie-create-pr.yaml deleted file mode 100644 index 55cfb3699bb96..0000000000000 --- a/.github/workflows/reggie-create-pr.yaml +++ /dev/null @@ -1,42 +0,0 @@ -name: Create PR -on: - workflow_dispatch: - inputs: - TARGET_BRANCH: - description: 'TARGET_BRANCH to checkout (e.g. release-2.5)' - required: true - type: string - TARGET_VERSION: - description: 'TARGET_VERSION to build manifests (e.g. 2.5.0-rc1) Note: the `v` prefix is not used' - required: true - type: string -permissions: {} -jobs: - prepare-release: - permissions: - contents: write # for peter-evans/create-pull-request to create branch - pull-requests: write # for peter-evans/create-pull-request to create a PR - name: Automatically generate version and manifests on release-2.5 - runs-on: ubuntu-22.04 - steps: - - name: Checkout code - uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # v4.0.0 - with: - fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} - ref: ${{ inputs.TARGET_BRANCH }} - - name: Create VERSION information - run: | - set -ue - echo "Bumping version from $(cat VERSION) to ${{ inputs.TARGET_VERSION }}" - echo "${{ inputs.TARGET_VERSION }}" > VERSION - - name: Create pull request - uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 - with: - commit-message: "Bump version to ${{ inputs.TARGET_VERSION }}" - title: "Bump version to ${{ inputs.TARGET_VERSION }} on ${{ inputs.TARGET_BRANCH }} branch" - body: Updating VERSION and manifests to ${{ inputs.TARGET_VERSION }} - branch: update-version - branch-suffix: random - signoff: true - labels: release \ No newline at end of file