build(deps): bump actions/github-script from 8.0.0 to 9.0.0 (#3670) #2852
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: Update Dependencies | |
| on: | |
| # Run every day. | |
| schedule: | |
| - cron: '0 3 * * *' | |
| # And on every PR merge so we get the updated dependencies ASAP, and to make sure the changelog doesn't conflict. | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| actions: write | |
| # Changelog strategy: | |
| # We use craft (release.yml) for auto-generated changelogs, not the updater's | |
| # built-in changelog entries, so all jobs set changelog-entry: false. | |
| # Android, Cocoa, JS, and Native are SDK dependency updates that should appear | |
| # in the changelog under "Dependencies". Metrics and Symbol Collector should not. | |
| # Since craft's exclude mechanism doesn't support per-PR conditions yet, we add | |
| # the skip-changelog label to metrics-flutter and symbol-collector PRs so craft | |
| # ignores them, while the SDK dependency PRs still get picked up. | |
| jobs: | |
| android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: getsentry/github-workflows/updater@26f565c05d0dd49f703d238706b775883037d76b # v3 | |
| with: | |
| path: packages/flutter/scripts/update-android.sh | |
| name: Android SDK | |
| changelog-entry: false | |
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | |
| cocoa: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: getsentry/github-workflows/updater@26f565c05d0dd49f703d238706b775883037d76b # v3 | |
| with: | |
| path: packages/flutter/scripts/update-cocoa.sh | |
| name: Cocoa SDK | |
| pattern: '^8\.' # Only update Cocoa SDK 8.x.x until the next Sentry Flutter major v10 | |
| changelog-entry: false | |
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | |
| js: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: getsentry/github-workflows/updater@26f565c05d0dd49f703d238706b775883037d76b # v3 | |
| with: | |
| path: packages/flutter/scripts/update-js.sh | |
| name: JavaScript SDK | |
| changelog-entry: false | |
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | |
| native: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: getsentry/github-workflows/updater@26f565c05d0dd49f703d238706b775883037d76b # v3 | |
| with: | |
| path: packages/flutter/scripts/update-native.sh | |
| name: Native SDK | |
| changelog-entry: false | |
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | |
| metrics-flutter: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: getsentry/github-workflows/updater@26f565c05d0dd49f703d238706b775883037d76b # v3 | |
| id: updater | |
| with: | |
| path: metrics/flutter.properties | |
| name: Flutter SDK Metrics | |
| changelog-entry: false | |
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | |
| - if: steps.updater.outputs.prUrl | |
| run: gh pr edit "${{ steps.updater.outputs.prUrl }}" --add-label "skip-changelog" | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| symbol-collector: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: getsentry/github-workflows/updater@26f565c05d0dd49f703d238706b775883037d76b # v3 | |
| id: updater | |
| with: | |
| path: scripts/update-symbol-collector.sh | |
| name: Symbol Collector CLI | |
| changelog-entry: false | |
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | |
| - if: steps.updater.outputs.prUrl | |
| run: gh pr edit "${{ steps.updater.outputs.prUrl }}" --add-label "skip-changelog" | |
| env: | |
| GH_TOKEN: ${{ github.token }} |