Skip to content

Bump github.com/aws/aws-sdk-go from 1.45.2 to 1.49.9 in /receiver/awsxrayreceiver #453

Bump github.com/aws/aws-sdk-go from 1.45.2 to 1.49.9 in /receiver/awsxrayreceiver

Bump github.com/aws/aws-sdk-go from 1.45.2 to 1.49.9 in /receiver/awsxrayreceiver #453

# This action adds the "next release" milestone to a pull request
# when it is merged. The "next release" milestone is managed
# by the "Project: Rotate Milestone" action.
name: 'Project: Add PR to Milestone'
on:
pull_request_target:
types:
- closed
jobs:
update-pr:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
const milestones = await github.rest.issues.listMilestones({
owner: context.repo.owner,
repo: context.repo.repo,
state: "open"
})
for (const milestone of milestones.data) {
if (milestone.title == "next release") {
await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
milestone: milestone.number
});
return
}
}