Skip to content

Commit

Permalink
chore(workflows): added support for Github merge groups
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybuidl committed Aug 17, 2023
1 parent dba73b1 commit 68273dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/contracts-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Contracts Testing

on:
workflow_dispatch:
merge_group:
push:
branches:
- master
Expand All @@ -13,7 +14,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
contents: read

jobs:
test:
contracts-testing:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Dependabot auto-merge
on: pull_request
on:
merge_group:
pull_request:

# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
# Source repository: https://github.com/actions/dependency-review-action
name: 'Dependency Review'
on: [pull_request]
on:
merge_group:
pull_request:

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
schedule:
- cron: '37 13 * * 3'
push:
branches: [ "master", "dev" ]
branches: [ "dev" ]

# Declare default permissions as read only.
permissions: read-all
Expand Down

0 comments on commit 68273dc

Please sign in to comment.