You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request was created because the CI environment uses frameworks that are not up-to-date.
54
-
You can see which frameworks need to be upgraded in the [logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}).
55
-
56
-
*⚠️ Use `Squash and merge` to merge this pull request.*
47
+
github-token: ${{ secrets.GITHUB_TOKEN }}
48
+
script: |
49
+
const owner = context.repo.owner;
50
+
const repo = context.repo.repo;
51
+
const head = '${{ steps.branch.outputs.name }}';
52
+
const base = (await github.rest.repos.get({ owner, repo })).data.default_branch;
53
+
const title = 'ci: bump environment';
54
+
const body = `## Outdated CI environment\n\nThis pull request was created because the CI environment uses frameworks that are not up-to-date.\nYou can see which frameworks need to be upgraded in the [logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}).\n\n*⚠️ Use \`Squash and merge\` to merge this pull request.*`;
This pull request was created automatically according to the release cycle.
41
-
42
-
> [!WARNING]
43
-
> Only use `Merge Commit` to merge this pull request. Do not use `Rebase and Merge` or `Squash and Merge`.
33
+
github-token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
34
+
script: |
35
+
const owner = context.repo.owner;
36
+
const repo = context.repo.repo;
37
+
const head = '${{ env.BRANCH_NAME }}';
38
+
const base = 'release';
39
+
const title = 'build: Release';
40
+
const body = `## Release\n\nThis pull request was created automatically according to the release cycle.\n\n> [!WARNING]\n> Only use \`Merge Commit\` to merge this pull request. Do not use \`Rebase and Merge\` or \`Squash and Merge\`.`;
0 commit comments