Skip to content

chore(deps): bump actions/github-script from 6 to 7 #2955

chore(deps): bump actions/github-script from 6 to 7

chore(deps): bump actions/github-script from 6 to 7 #2955

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
actions: write
steps:
- uses: actions/checkout@v4
- name: Dependabot metadata
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1
- name: Check if it is a dependency that should be managed by Expo
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
const script = require(`./scripts/check-expo-dependencies.js`);
await script({
context,
github,
fetch,
dependencyNames: `${{ steps.dependabot-metadata.outputs.dependency-names }}`
});
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
- run: yarn
- run: yarn lint
- run: yarn typecheck
- run: npx expo-doctor
- run: yarn test
automerge:
needs: build
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3
eas-update:
needs: build
if: github.actor != 'dependabot[bot]'
uses: ./.github/workflows/expo-eas-update.yml
with:
channel: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || 'preview' }}
message: ${{ github.event.head_commit.message || github.event.pull_request.title }}
secrets:
expo-token: ${{ secrets.EXPO_TOKEN }}
build-ios:
needs: build
if: github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, '[OPTIC-RELEASE-AUTOMATION]')
uses: ./.github/workflows/expo-eas-build.yml
with:
profile: production
platform: ios
secrets:
expo-token: ${{ secrets.EXPO_TOKEN }}
build-android:
needs: build
if: github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, '[OPTIC-RELEASE-AUTOMATION]')
uses: ./.github/workflows/expo-eas-build.yml
with:
profile: production
platform: android
secrets:
expo-token: ${{ secrets.EXPO_TOKEN }}