ppkarwasz commented on code in PR #272:
URL: https://github.com/apache/commons-daemon/pull/272#discussion_r2307355418
##########
.github/workflows/codeql-analysis.yml:
##########
@@ -13,17 +13,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: "CodeQL Java"
+name: "CodeQL"
on:
push:
- branches: [ master ]
+ branches-ignore:
+ - 'dependabot/**'
pull_request:
- # The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '33 9 * * 4'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
Review Comment:
According to the [`github` context
documentation](https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#github-context),
`ref_name` is a shortened version of the reference name, should we use `ref`
here instead?
```suggestion
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]