File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 1919 echo Update type ${{ steps.metadata.outputs.update-type }}
2020 echo Dependency type ${{ steps.metadata.outputs.dependency-type }}
2121 - name : Approve a PR
22+
23+ # What are we automatically merging?
24+ # MINOR and PATCH updates
25+ # Development dependencies
26+ # Indirect dependencies
27+
28+ # ----------------------
29+ # ------ IMPORTANT ------
30+ # Unfortunately dependabot core does not support knowing if an indirect dependency is from production or development
31+ # [https://github.com/dependabot/fetch-metadata/issues/43#issuecomment-878173130]
32+ # I am taking the risk to automatically update indirect dependencies of production dependencies.
33+ # Ts-auto-mock will not be published automatically because of this.
34+ # Before releasing a new version of ts-auto-mock the production dependencies need to be reviewed.
35+ # ----------------------
36+
2237 if : |
2338 (steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch')
24- && steps.metadata.outputs.dependency-type == 'direct:development'
39+ && ( steps.metadata.outputs.dependency-type == 'indirect' || steps.metadata.outputs.dependency-type == ' direct:development')
2540 run : |
2641 gh pr review --approve "$PR_URL"
2742 gh pr merge --auto --rebase "$PR_URL"
You can’t perform that action at this time.
0 commit comments