Add organization switching for administrators managing multiple organizations #10991
This file contains hidden or 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: Approve dependabot | |
| on: pull_request_target | |
| jobs: | |
| autoapprove: | |
| name: Approve dependabot | |
| runs-on: ubuntu-latest | |
| if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'dependabot' | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Auto approve dependabot | |
| uses: cognitedata/[email protected] | |
| if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'dependabot' | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Auto approve as second user | |
| uses: cognitedata/[email protected] | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |