mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: refactor titles of prs made by bots
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
bcd8aa9acc
commit
8cfa402c9a
4
.github/workflows/docs-update-reference.yml
vendored
4
.github/workflows/docs-update-reference.yml
vendored
@ -17,7 +17,9 @@ jobs:
|
|||||||
uses: repo-sync/pull-request@65785d95a5a466e46a9d0708933a3bd51bbf9dde # tag=v2.6.2
|
uses: repo-sync/pull-request@65785d95a5a466e46a9d0708933a3bd51bbf9dde # tag=v2.6.2
|
||||||
with:
|
with:
|
||||||
destination_branch: "main"
|
destination_branch: "main"
|
||||||
pr_title: "Update CLI reference"
|
pr_title: "docs: update cli reference"
|
||||||
pr_body: |
|
pr_body: |
|
||||||
:robot: *This is an automated PR.* :robot:
|
:robot: *This is an automated PR.* :robot:
|
||||||
|
|
||||||
|
Changes in the CLI triggered this PR, it updates the corresponding documentation page.
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -67,16 +67,19 @@ jobs:
|
|||||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
- name: Create docs branch
|
- name: Create docs branch
|
||||||
run: |
|
run: |
|
||||||
git fetch
|
git fetch
|
||||||
git pull
|
git pull
|
||||||
git checkout "${BRANCH}" || git checkout -B "${BRANCH}"
|
git checkout "${BRANCH}" || git checkout -B "${BRANCH}"
|
||||||
|
|
||||||
- name: Create docs release
|
- name: Create docs release
|
||||||
working-directory: docs
|
working-directory: docs
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run docusaurus docs:version "${MAJOR_MINOR}"
|
npm run docusaurus docs:version "${MAJOR_MINOR}"
|
||||||
|
|
||||||
- name: Commit
|
- name: Commit
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "release[bot]"
|
git config --global user.name "release[bot]"
|
||||||
@ -84,6 +87,7 @@ jobs:
|
|||||||
git add docs
|
git add docs
|
||||||
git commit -m "docs: generate docs for ${VERSION}"
|
git commit -m "docs: generate docs for ${VERSION}"
|
||||||
git push --set-upstream origin "${BRANCH}"
|
git push --set-upstream origin "${BRANCH}"
|
||||||
|
|
||||||
- name: Create docs pull request
|
- name: Create docs pull request
|
||||||
uses: repo-sync/pull-request@65785d95a5a466e46a9d0708933a3bd51bbf9dde # tag=v2.6.2
|
uses: repo-sync/pull-request@65785d95a5a466e46a9d0708933a3bd51bbf9dde # tag=v2.6.2
|
||||||
with:
|
with:
|
||||||
@ -92,6 +96,9 @@ jobs:
|
|||||||
pr_title: "docs: add release ${VERSION}"
|
pr_title: "docs: add release ${VERSION}"
|
||||||
pr_body: |
|
pr_body: |
|
||||||
:robot: *This is an automated PR.* :robot:
|
:robot: *This is an automated PR.* :robot:
|
||||||
|
|
||||||
|
The PR is triggered as part of the automated release process of version ${VERSION}.
|
||||||
|
It releases a new version of the documentation.
|
||||||
pr_label: "no-changelog"
|
pr_label: "no-changelog"
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -339,5 +346,8 @@ jobs:
|
|||||||
pr_title: "release: bring back changes from ${VERSION}"
|
pr_title: "release: bring back changes from ${VERSION}"
|
||||||
pr_body: |
|
pr_body: |
|
||||||
:robot: *This is an automated PR.* :robot:
|
:robot: *This is an automated PR.* :robot:
|
||||||
|
|
||||||
|
This PR is triggered as part of the release process of version ${VERSION}.
|
||||||
|
It brings back changes from the release branch into the main branch.
|
||||||
pr_label: "no-changelog"
|
pr_label: "no-changelog"
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
2
.github/workflows/test-go-generate.yml
vendored
2
.github/workflows/test-go-generate.yml
vendored
@ -67,6 +67,6 @@ jobs:
|
|||||||
echo "internal/versions/versions.go is the only changed file, so we can push the changes."
|
echo "internal/versions/versions.go is the only changed file, so we can push the changes."
|
||||||
git config --global user.name "renovate[bot]"
|
git config --global user.name "renovate[bot]"
|
||||||
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com"
|
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com"
|
||||||
git commit -am "[bot] Update versions.go"
|
git commit -am "deps: update versions.go"
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
2
.github/workflows/test-tf.yml
vendored
2
.github/workflows/test-tf.yml
vendored
@ -58,5 +58,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.name "renovate[bot]"
|
git config --global user.name "renovate[bot]"
|
||||||
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com"
|
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com"
|
||||||
git commit -am "[bot] Update HCL lock files"
|
git commit -am "deps: update HCL lock files"
|
||||||
git push
|
git push
|
||||||
|
2
.github/workflows/test-tidy.yml
vendored
2
.github/workflows/test-tidy.yml
vendored
@ -74,5 +74,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.name "renovate[bot]"
|
git config --global user.name "renovate[bot]"
|
||||||
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com"
|
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com"
|
||||||
git commit -am "[bot] Tidy all modules"
|
git commit -am "deps: tidy all modules"
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user