Skip to content

[release/4.x] d/aws_s3_object: Test key with leading ./ #9000

[release/4.x] d/aws_s3_object: Test key with leading ./

[release/4.x] d/aws_s3_object: Test key with leading ./ #9000

Workflow file for this run

on:
pull_request_target:
types: [closed]
name: Add merged PR and linked issues to current milestone of target branch
jobs:
AddMergedToCurrentMilestone:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
with:
ref: ${{ github.event.pull_request.base.ref }}
- id: get-current-milestone
run: |
echo "current_milestone=v$(head -1 CHANGELOG.md | cut -d " " -f 2)" >> "$GITHUB_OUTPUT"
- run: echo ${{ steps.get-current-milestone.outputs.current_milestone }}
- id: get-milestone-id
run: |
echo "milestone_id=$(curl -H "Authorization: Bearer ${{secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/milestones | jq 'map(select(.title == "${{ steps.get-current-milestone.outputs.current_milestone }}"))[0].number')" >> "$GITHUB_OUTPUT"
- run: echo ${{ steps.get-milestone-id.outputs.milestone_id }}
- uses: breathingdust/current-milestone-action@e74e4e4baaa22653aeef90db0c7894db093af076
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pull_number: ${{ github.event.pull_request.number }}
milestone_number: ${{ steps.get-milestone-id.outputs.milestone_id }}