Skip to content

Commit a303855

Browse files
dependabot[bot]dblock
authored andcommitted
Bump actions/github-script from 6 to 7 (opensearch-project#14997)
* Bump actions/github-script from 6 to 7 Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Signed-off-by: Peter Nied <peternied@hotmail.com>
1 parent e5e1bad commit a303855

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/version.yml

+29
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,32 @@ jobs:
127127
title: '[AUTO] [main] Add bwc version ${{ env.NEXT_VERSION }}.'
128128
body: |
129129
I've noticed that a new tag ${{ env.TAG }} was pushed, and added a bwc version ${{ env.NEXT_VERSION }}.
130+
131+
- name: Create tracking issue
132+
id: create-issue
133+
uses: actions/github-script@v7
134+
with:
135+
script: |
136+
const body = `
137+
### Description
138+
A new version of OpenSearch was released, to prepare for the next release new version numbers need to be updated in all active branches of development.
139+
140+
### Exit Criteria
141+
Review and merged the following pull requests
142+
- [ ] ${{ steps.base_pr.outputs.pull-request-url }}
143+
- [ ] ${{ steps.base_x_pr.outputs.pull-request-url }}
144+
- [ ] ${{ steps.main_pr.outputs.pull-request-url }}
145+
146+
### Additional Context
147+
See project wide guidance on branching and versions [[link]](https://github.com/opensearch-project/.github/blob/main/RELEASING.md).
148+
`
149+
const { data: issue }= await github.rest.issues.create({
150+
owner: context.repo.owner,
151+
repo: context.repo.repo,
152+
labels: ["Build"],
153+
title: "Increment version for ${{ env.NEXT_VERSION }}",
154+
body: body
155+
});
156+
console.error(JSON.stringify(issue));
157+
return issue.number;
158+
result-encoding: string

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1010
### Dependencies
1111
- Bump `org.apache.commons:commons-lang3` from 3.14.0 to 3.15.0 ([#14861](https://github.com/opensearch-project/OpenSearch/pull/14861))
1212
- Bump `com.microsoft.azure:msal4j` from 1.16.1 to 1.16.2 ([#14995](https://github.com/opensearch-project/OpenSearch/pull/14995))
13+
- Bump `actions/github-script` from 6 to 7 ([#14997](https://github.com/opensearch-project/OpenSearch/pull/14997))
1314

1415
### Changed
1516

0 commit comments

Comments
 (0)