Merge branch 'release' into staging
| @@ -39,9 +39,13 @@ jobs: | ||
| 39 | 39 | |
| 40 | 40 | label-by-branches: |
| 41 | 41 | name: 🏷️ Label PR by Branches |
| 42 | + needs: [label-by-size] | |
| 42 | 43 | runs-on: ubuntu-latest |
| 44 | + # Run, even if the previous jobs were skipped/failed | |
| 43 | 45 | # Only label once when PR is created or branches are changed, to allow manual label removal |
| 44 | - if: github.event.action == 'opened' || (github.event.action == 'synchronize' && (github.event.changes.base || github.event.changes.head)) | |
| 46 | + if: | | |
| 47 | + always() | |
| 48 | + && github.event.action == 'opened' || (github.event.action == 'synchronize' && (github.event.changes.base || github.event.changes.head)) | |
| 45 | 49 | |
| 46 | 50 | steps: |
| 47 | 51 | - name: Checkout Repository |
| @@ -59,7 +63,10 @@ jobs: | ||
| 59 | 63 | |
| 60 | 64 | label-by-files: |
| 61 | 65 | name: 🏷️ Label PR by Files |
| 66 | + needs: [label-by-branches] | |
| 62 | 67 | runs-on: ubuntu-latest |
| 68 | + # Run, even if the previous jobs were skipped/failed | |
| 69 | + if: always() | |
| 63 | 70 | |
| 64 | 71 | steps: |
| 65 | 72 | - name: Checkout Repository |
| @@ -77,9 +84,12 @@ jobs: | ||
| 77 | 84 | |
| 78 | 85 | remove-stale-label: |
| 79 | 86 | name: 🗑️ Remove Stale Label on Comment |
| 87 | + needs: [label-by-files] | |
| 80 | 88 | runs-on: ubuntu-latest |
| 81 | 89 | # Only runs when this is not done by the github actions bot |
| 82 | - if: github.event_name == 'pull_request_review_comment' && github.actor != 'github-actions[bot]' | |
| 90 | + if: | | |
| 91 | + always() | |
| 92 | + && github.event_name == 'pull_request_review_comment' && github.actor != 'github-actions[bot]' | |
| 83 | 93 | |
| 84 | 94 | steps: |
| 85 | 95 | - name: Remove Stale Label |
| @@ -94,7 +104,7 @@ jobs: | ||
| 94 | 104 | |
| 95 | 105 | check-merge-blocking-labels: |
| 96 | 106 | name: 🚫 Check Merge Blocking Labels |
| 97 | 107 | needs: [label-by-size, label-by-branches, label-by-files, remove-stale-label] |
| 98 | 108 | runs-on: ubuntu-latest |
| 99 | 109 | # Run, even if the previous jobs were skipped/failed |
| 100 | 110 | if: always() |
| @@ -144,7 +154,7 @@ jobs: | ||
| 144 | 154 | |
| 145 | 155 | write-auto-comments: |
| 146 | 156 | name: 💬 Post PR Comments Based on Labels |
| 147 | 157 | needs: [label-by-size, label-by-branches, label-by-files, remove-stale-label] |
| 148 | 158 | runs-on: ubuntu-latest |
| 149 | 159 | # Run, even if the previous jobs were skipped/failed |
| 150 | 160 | if: always() |