jajik commented on code in PR #272:
URL: https://github.com/apache/commons-daemon/pull/272#discussion_r2307403460


##########
.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:
   I don't think so. The `ref` would contain `refs/heads/` prefix for feature 
branches, which would lead to two different groups because `${{ github.head_ref 
}}` contains only the name.
   
   See `GITHUB_HEAD_REF` vs `GITHUB_REF` 
[here](https://docs.github.com/en/actions/reference/workflows-and-actions/variables).
 



-- 
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: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to