@@ -28,30 +28,37 @@ For workflows running in pull requests.
2828For scheduled jobs to periodically check for outdated UI5 versions
2929
3030` ` ` ` yaml
31- - name: Check UI5 versions
32- id: fix-ui5
33- uses: DevEpos/check-outdated-ui5-version@v1
34- with:
35- fixOutdated: true
36- useLTS: true
37- manifestPaths: |
38- router
39- app/**/webapp
31+ name: Fix outdated UI5 versions
32+ on:
33+ schedule:
34+ - cron: "30 0 * * 1"
35+ workflow_dispatch:
4036
41- - name: Create Pull Request
42- if: ${{ steps.fix-ui5.outputs.modifiedFiles != '' }}
43- uses: peter-evans/create-pull-request@v7
44- with:
45- commit-message: "chore: update outdated UI5 versions"
46- branch: "update-ui5-versions/patch"
47- title: "Update Outdated UI5 Versions"
48- add-paths: ${{ steps.fix-ui5.outputs.modifiedFiles }}
49- body: |
50- This pull request updates the outdated UI5 versions found in the following files:
51-
52- ` ` `
53- ${{ steps.fix-ui5.outputs.modifiedFiles }}
54- ```
37+ jobs:
38+ - name: Check/update UI5 versions
39+ id: fix-ui5
40+ uses: DevEpos/check-outdated-ui5-version@v1
41+ with:
42+ fixOutdated: true
43+ useLTS: true
44+ manifestPaths: |
45+ router
46+ app/**/webapp
47+
48+ - name: Create Pull Request
49+ if: ${{ steps.fix-ui5.outputs.modifiedFiles != '' }}
50+ uses: peter-evans/create-pull-request@v7
51+ with:
52+ commit-message: "chore: update outdated UI5 versions"
53+ branch: "update-ui5-versions/patch"
54+ title: "Update Outdated UI5 Versions"
55+ add-paths: ${{ steps.fix-ui5.outputs.modifiedFiles }}
56+ body: |
57+ This pull request updates the outdated UI5 versions found in the following files:
58+
59+ ` ` `
60+ ${{ steps.fix-ui5.outputs.modifiedFiles }}
61+ ```
5562````
5663
5764# ## Action inputs
@@ -70,6 +77,7 @@ For scheduled jobs to periodically check for outdated UI5 versions
7077| ---------------- | ----------------------------------------------------------------------------------------------------------- |
7178| `foundManifests` | List of `manifest.json` file paths that have been found according to the specified paths in `manifestPaths` |
7279| `modifiedFiles` | List of `manifest.json` files that have been updated. Can be used to pass to e.g. an action to create a PR |
80+ | `summary` | Check summary as HTML string as printed to the action output ([see](#example-of-action-result)) |
7381
7482# # Example of action result
7583
0 commit comments