Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rwx/update-packages-github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To update minor versions (recommended):
```yaml
tasks:
- key: update-rwx-packages
call: rwx/update-packages-github 2.0.2
call: rwx/update-packages-github 2.0.3
with:
repository: https://github.com/YOUR-ORG/YOUR-REPO.git
ref: ${{ init.commit-sha }}
Expand All @@ -32,7 +32,7 @@ Customize the label:
```yaml
tasks:
- key: update-rwx-packages
call: rwx/update-packages-github 2.0.2
call: rwx/update-packages-github 2.0.3
with:
repository: https://github.com/YOUR-ORG/YOUR-REPO.git
ref: ${{ init.commit-sha }}
Expand All @@ -51,7 +51,7 @@ Requires repository auto-merge support.
```yaml
tasks:
- key: update-rwx-packages
call: rwx/update-packages-github 2.0.2
call: rwx/update-packages-github 2.0.3
with:
repository: https://github.com/YOUR-ORG/YOUR-REPO.git
ref: ${{ init.commit-sha }}
Expand Down
15 changes: 6 additions & 9 deletions rwx/update-packages-github/rwx-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rwx/update-packages-github
version: 2.0.2
version: 2.0.3
description: Update RWX packages for GitHub repositories
source_code_url: https://github.com/rwx-cloud/packages/tree/main/rwx/update-packages-github
issue_tracker_url: https://github.com/rwx-cloud/packages/issues
Expand Down Expand Up @@ -34,13 +34,13 @@ parameters:

tasks:
- key: rwx-cli
call: rwx/install-cli 4.0.1
call: rwx/install-cli 4.0.4

- key: gh-cli
call: github/install-cli 1.0.8
call: github/install-cli 1.0.10

- key: code
call: git/clone 2.0.0
call: git/clone 2.0.7
with:
repository: ${{ params.repository }}
ref: ${{ params.ref }}
Expand All @@ -67,7 +67,7 @@ tasks:
RWX_FILE: ${{ params.rwx-file}}

- key: create-or-update-pr
call: github/create-pull-request 1.0.3
call: github/create-pull-request 1.0.7
use: update-packages
with:
github-token: ${{ params.github-token }}
Expand All @@ -79,6 +79,7 @@ tasks:
```
${{ tasks.update-packages.values.update-output }}
```
enable-auto-merge: ${{ params.enable-auto-merge }}

- key: pull-request-options
use: [gh-cli, code]
Expand All @@ -89,11 +90,7 @@ tasks:
gh label create "$GITHUB_LABEL" --color "$GITHUB_LABEL_COLOR" || true
gh pr edit "$GITHUB_PR_NUMBER" --add-label "$GITHUB_LABEL"
fi
if [ "$ENABLE_AUTO_MERGE" = "true" ] && [ -n "$GITHUB_PR_NUMBER" ]; then
gh pr merge "$GITHUB_PR_NUMBER" --auto --squash || true
fi
env:
ENABLE_AUTO_MERGE: ${{ params.enable-auto-merge }}
GITHUB_TOKEN: ${{ params.github-token }}
GITHUB_LABEL: ${{ params.label }}
GITHUB_LABEL_COLOR: ${{ params.label-color }}
Expand Down