Skip to content

Commit b1f7fee

Browse files
authored
ci: remove local create-pr action (#4213)
1 parent 3f2e7fe commit b1f7fee

File tree

4 files changed

+7
-245
lines changed

4 files changed

+7
-245
lines changed

.github/actions/create-pr/action.yml

Lines changed: 0 additions & 92 deletions
This file was deleted.

.github/actions/create-pr/create_pr_for_staged_changes.sh

Lines changed: 0 additions & 148 deletions
This file was deleted.

.github/workflows/make-version.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ jobs:
3434
node-version: ${{ env.NODE_VERSION }}
3535
cache: "npm"
3636
- name: Setup dependencies
37-
uses: aws-powertools/actions/.github/actions/cached-node-modules@b8e12f37991bb03672113b65cae09d52d494bbef # v1.0.0
37+
uses: aws-powertools/actions/.github/actions/cached-node-modules@5ae7c190d6b51491bb14f593c3509c1bcbf7a3c1 # v1.1.0
3838
with:
3939
node-version: ${{ env.NODE_VERSION }}
40+
build: "false"
4041
- name: Version and changelog
4142
id: version-n-changelog
42-
uses: aws-powertools/actions/.github/actions/version-n-changelog@b8e12f37991bb03672113b65cae09d52d494bbef # v1.0.0
43+
uses: aws-powertools/actions/.github/actions/version-n-changelog@5ae7c190d6b51491bb14f593c3509c1bcbf7a3c1 # v1.1.0
4344
with:
4445
release-type: ${{ github.event.inputs.release-type }}
4546
- name: Update user agent version
@@ -50,7 +51,7 @@ jobs:
5051
run: git add .
5152
- name: Create PR
5253
id: create-pr
53-
uses: ./.github/actions/create-pr
54+
uses: aws-powertools/actions/.github/actions/create-pr@5ae7c190d6b51491bb14f593c3509c1bcbf7a3c1 # v1.1.0
5455
with:
5556
temp_branch_prefix: "ci-bump"
5657
pull_request_title: "chore(ci): bump version to ${{ steps.version-n-changelog.outputs.new-version }}"

.github/workflows/publish_layer.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,12 @@ jobs:
106106
- name: Replace layer versions in documentation
107107
run: |
108108
./.github/scripts/update_layer_arn.sh ${{ inputs.layer_documentation_version }}
109+
- name: Stage changes
110+
run: git add .
109111
- name: Create PR
110112
id: create-pr
111-
uses: ./.github/actions/create-pr
113+
uses: aws-powertools/actions/.github/actions/create-pr@5ae7c190d6b51491bb14f593c3509c1bcbf7a3c1 # v1.1.0
112114
with:
113-
files: 'docs/getting-started/lambda-layers.md'
114115
temp_branch_prefix: 'ci-layer-docs'
115116
pull_request_title: 'chore(ci): update layer ARN on documentation'
116117
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)