Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add support for merge queues #39

Open
MichaelBlake-gingerio opened this issue Feb 6, 2025 · 0 comments
Open

Feature Request: Add support for merge queues #39

MichaelBlake-gingerio opened this issue Feb 6, 2025 · 0 comments

Comments

@MichaelBlake-gingerio
Copy link

This action does not seem to support using merge queues. Here is the error we receive...

Action workflow must be run on 'pull_request'.  GITHUB_REF is not set to a pull request number

This is the yaml file we use for our workflow...

name: 'SAST Scans'
on:
  pull_request:
  merge_group:
jobs:
  secret-scanning-review:
    runs-on: ubuntu-latest
    steps:
      - name: 'Secret Scanning Review Action'
        uses: advanced-security/[email protected]
        with:
          token: ${{ secrets.SECRET_SCAN_REVIEW_GITHUB_TOKEN }}
          fail-on-alert: true
  dependency-review:
    runs-on: ubuntu-latest
    steps:
      - name: 'Checkout Repository'
        uses: actions/checkout@v4
      - name: 'Dependency Review'
        uses: actions/dependency-review-action@v4
        with:
          comment-summary-in-pr: true
          fail-on-severity: high

This is working great for all of our other repos that do not use a merge queue. Please let me know if this is out of scope of this project or if there's anything we're doing wrong that could fix this.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant