fix: use total_count CTE and return it with the parsed results #1763
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Project Automation | |
on: | |
pull_request: | |
types: [opened, labeled] | |
env: | |
MY_GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
jobs: | |
auto-generated-prs: | |
runs-on: ubuntu-latest | |
name: Assign Auto-Generated PRs | |
steps: | |
- name: Assign pull requests opened by dependabot or snyk-bot | |
uses: srggrs/[email protected] | |
if: contains(github.event.pull_request.user.login, 'dependabot') || contains(github.event.pull_request.user.login, 'snyk-bot') | |
with: | |
project: 'https://github.com/orgs/hirosystems/projects/11/' | |
column_name: 'Auto-generated PRs' |