Skip to content

Commit ec3cc3f

Browse files
authored
Merge branch 'main' into trunk-io/update-trunk
2 parents e5b100e + 970f2d6 commit ec3cc3f

5 files changed

Lines changed: 20 additions & 3 deletions

File tree

.github/workflows/delete-workflow-run.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Delete old workflow runs
22
on:
33
schedule:
44
- cron: 0 0 1 * *
5-
workflow_call: {}
65

76
# Disable permissions for all available scopes
87
permissions: {}

.github/workflows/terraform-docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
needs: [get-temp-token]
2525
env:
2626
TF_DOCS_FILE: README.md
27-
# TODO: Define as an input, because calling workflow could use a different event type
2827
BRANCH: ${{ github.base_ref }}
2928
steps:
3029
- name: Decrypt the installation access token

.github/workflows/trunk-upgrade.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Trunk Upgrade
22
on:
33
schedule:
44
- cron: 0 1 * * 2
5+
workflow_call: {}
56
workflow_dispatch: {}
67

78
permissions: {}
@@ -41,4 +42,4 @@ jobs:
4142
uses: trunk-io/trunk-action/upgrade@8e4c812061ece3fa253bbfa5a80ee1caefa19eb1 # v1.22.9
4243
with:
4344
github-token: ${{ steps.decrypt-token.outputs.temp-token }}
44-
prefix: "ci(trunk):"
45+
prefix: "ci(trunk): "

.github/workflows/wait-for-checks.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
types: [opened, edited, reopened, synchronize]
66
branches: [main]
7+
workflow_call: {}
78

89
# Disable permissions for all available scopes
910
permissions: {}
@@ -26,6 +27,9 @@ jobs:
2627
# check run "auto-approve-pr" is completed with conclusion "cancelled" (unsuccessful) when skipped
2728
# auto-approve-pr should run on the conclusion of enforce-all-checks, so checks should not check for auto-approve-pr
2829
ignore: auto-approve-pr
30+
# ignore any pattern before '/ enforce-all-checks' for calling workflows
31+
# For example if the calling workflow job name is 'Checks' the path to ignore is 'Checks / enforce-all-checks'
32+
ignore_pattern: .*\/ enforce-all-checks
2933

3034
# Approve PR raised by 3ware-release[bot] to upgrade trunk on trunk branches
3135
# after all checks have passed.

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [4.10.0](https://github.com/3ware/workflows/compare/v4.9.0...v4.10.0) (2025-02-25)
6+
7+
8+
### Features
9+
10+
* **trunk:** Add `workflow_call` trigger ([#155](https://github.com/3ware/workflows/issues/155)) ([6865d40](https://github.com/3ware/workflows/commit/6865d404241f5951c693f390ea7b08943a6bb758))
11+
12+
## [4.9.0](https://github.com/3ware/workflows/compare/v4.8.0...v4.9.0) (2025-02-25)
13+
14+
15+
### Features
16+
17+
* **checks:** Add workflow_call event to wait-for-checks workflow ([#156](https://github.com/3ware/workflows/issues/156)) ([cc574b5](https://github.com/3ware/workflows/commit/cc574b5ef75c8527b3b505e708164275f0e8e2f5))
18+
519
## [4.8.0](https://github.com/3ware/workflows/compare/v4.7.6...v4.8.0) (2025-02-24)
620

721

0 commit comments

Comments
 (0)