Repository navigation
ref(typing): Type request.user with service accounts everywhere in sentry #248705
Workflow file for this run
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
| # Adds labels to pull requests for the type of change the PR makes | ||
|
Check warning on line 1 in .github/workflows/label-pullrequest.yml
|
||
| name: meta(labels) | ||
| on: | ||
| pull_request_target: | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| label-pullrequest: | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| name: labels pull requests (frontend / backend) | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Check for file changes | ||
| uses: dorny/paths-filter@7b450fff21473bca461d4b92ce414b9d0420d706 # v4.0.2 | ||
| id: changes | ||
| with: | ||
| token: ${{ github.token }} | ||
| filters: .github/file-filters.yml | ||
| - name: Reconcile frontend/backend labels and warning | ||
| uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 | ||
| env: | ||
| PATH_FILTER_OUTPUTS: ${{ toJSON(steps.changes.outputs) }} | ||
| with: | ||
| script: | | ||
| const {reconcilePrScope} = await import(`${process.env.GITHUB_WORKSPACE}/.github/workflows/scripts/reconcile-pr-scope.js`); | ||
| await reconcilePrScope({ | ||
| github, | ||
| context, | ||
| core, | ||
| pathFilterOutputs: JSON.parse(process.env.PATH_FILTER_OUTPUTS), | ||
| }); | ||