Skip to content

Commit

Permalink
fix: allow contributors to run check-diff job (#253)
Browse files Browse the repository at this point in the history
## 馃摐 Description

Allow contributors to run `check-diff` job.

## 馃挕 Motivation and Context

Specified `permission` as `pull-requests: write` to fix **Error:
Resource not accessible by integration**.

A sample of error:
https://github.com/kirillzyusko/react-native-keyboard-controller/actions/runs/6406320042/job/17390681956?pr=252

## 馃摙 Changelog

### CI
- specify `permission` as `pull-requests: write`.

## 馃 How Has This Been Tested?

I'll merge it and will test later in another PR.

## 馃摑 Checklist

- [x] CI successfully passed
  • Loading branch information
kirillzyusko committed Oct 4, 2023
1 parent df527ff commit 6586760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/size-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
check-diff:
name: 馃敩 Find npm package size diff
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout to target branch
uses: actions/checkout@v3
Expand Down

0 comments on commit 6586760

Please sign in to comment.