mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
fix: add required permissions to mobile-deploy-auto workflow (#800)
- Add contents: write and pull-requests: write permissions - This allows the workflow to call mobile-deploy.yml with proper permissions - Fixes the startup failure when PR is merged
This commit is contained in:
4
.github/workflows/mobile-deploy-auto.yml
vendored
4
.github/workflows/mobile-deploy-auto.yml
vendored
@@ -9,6 +9,10 @@ on:
|
||||
- '!app/**/*.md'
|
||||
- '!app/docs/**'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
check-and-deploy:
|
||||
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'no-deploy')
|
||||
|
||||
Reference in New Issue
Block a user