Skip to content

Team view across different repositories? #51

Answered by manuelmhtr
3pilef asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @3pilef, thanks for your comments!

Yes, you can use the repositories option instead of organization and send a comma-separated list of the repositories you need.

For example:

name: Pull Request Stats

on:
  pull_request:
    types: [opened]

jobs:
  stats:
    runs-on: ubuntu-latest
    steps:
      - name: Run pull request stats
        uses: flowwer-dev/pull-request-stats@master
        with:
          repositories: 'celonis/repo1,celonis/repo2,celonis/repo3'
          token: ${{ secrets.ADD_A_PERSONAL_ACCESS_TOKEN }}

⚠️ Notice you also need to pass personal access token since the default one has only permissions for the current repo.

The only problem is you can't post multiple sta…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@3pilef
Comment options

Answer selected by manuelmhtr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants