Skip to content

Commit d725dbe

Browse files
authored
Merge branch 'awslabs:main' into main
2 parents 4c492ea + f93b2cf commit d725dbe

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/codebuild.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
types:
99
- labeled
1010
- opened
11+
- ready_for_review
1112
- reopened
1213
- synchronize
1314
- unlabeled
@@ -164,7 +165,7 @@ jobs:
164165
- name: Run CodeBuild
165166
if: steps.cache-check.outputs.cache-hit != 'true'
166167
id: codebuild
167-
uses: aws-actions/aws-codebuild-run-build@d8279f349f3b1b84e834c30e47c20dcb8888b7e5 # v1.0.18
168+
uses: aws-actions/aws-codebuild-run-build@7e46c3fa1c1f217e26a73712796b1f78938b534b # v1.0.19
168169
with:
169170
project-name: ${{ env.CODEBUILD_PROJECT_NAME }}
170171
source-version-override: ${{ github.sha }}

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
149149
## Checklist (in order)
150150
151-
1. [ ] Mark the pull request "Ready for review" to trigger required workflows
151+
1. [ ] Mark the pull request "Ready for review" and label with "codebuild" to trigger required workflows
152152
2. [ ] Inspect the CHANGELOG.md and "Approve" or "Reject" the pending [CodeBuild](https://github.com/awslabs/aidlc-workflows/actions/workflows/codebuild.yml) GitHub Action
153153
3. [ ] Evaluate the artifacts
154154
4. [ ] Review the pull request (if approved set the "Merge when ready")

.github/workflows/tag-on-merge.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
startsWith(github.event.pull_request.head.ref, 'release/v')
2929
runs-on: ubuntu-latest
3030
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
33+
with:
34+
fetch-depth: 1
3135
- name: Create tag
3236
env:
3337
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -44,9 +48,10 @@ jobs:
4448
exit 1
4549
fi
4650
47-
gh api "repos/$REPO/git/refs" \
48-
-f ref="refs/tags/$TAG" \
49-
-f sha="$SHA"
51+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
52+
git config --local user.name "github-actions[bot]"
53+
git tag -a "$TAG" "$SHA" -m "Release $TAG"
54+
git push origin "$TAG"
5055
5156
echo "Tag $TAG created on $SHA"
5257

0 commit comments

Comments
 (0)