-
-
Notifications
You must be signed in to change notification settings - Fork 284
chore: update GitHub Actions workflows to use updater v3 #3468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
dfe98b4
chore: update GitHub Actions workflows to use new updater version
buenaflor 6862962
chore: add pull request trigger for update-deps.yml workflow
buenaflor 861c09a
chore: update update-deps.yml to use ssh-key instead of api-token
buenaflor 554f818
Update
buenaflor 70cb002
Fix cocoa
buenaflor 5dd0a3c
Fix formatting in update-deps.yml permissions section
buenaflor e6e2f73
Modify update-deps workflow triggers
buenaflor 9b8b087
Fix cocoa
buenaflor 4162fb4
Update
buenaflor 353fd76
Update
buenaflor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,61 +4,69 @@ on: | |
| # Run every day. | ||
| schedule: | ||
| - cron: "0 3 * * *" | ||
| # And on on every PR merge so we get the updated dependencies ASAP, and to make sure the changelog doesn't conflict. | ||
| # 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 | ||
|
|
||
| jobs: | ||
| android: | ||
| uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 | ||
| with: | ||
| path: packages/flutter/scripts/update-android.sh | ||
| name: Android SDK | ||
| secrets: | ||
| api-token: ${{ secrets.CI_DEPLOY_KEY }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: getsentry/github-workflows/updater@v3 | ||
| with: | ||
| path: packages/flutter/scripts/update-android.sh | ||
| name: Android SDK | ||
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | ||
|
|
||
| cocoa: | ||
| uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 | ||
| with: | ||
| path: packages/flutter/scripts/update-cocoa.sh | ||
| name: Cocoa SDK | ||
| runs-on: macos-latest | ||
| secrets: | ||
| api-token: ${{ secrets.CI_DEPLOY_KEY }} | ||
| runs-on: macos-latest | ||
| steps: | ||
| - uses: getsentry/github-workflows/updater@v3 | ||
| with: | ||
| path: packages/flutter/scripts/update-cocoa.sh | ||
| name: Cocoa SDK | ||
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | ||
|
|
||
| js: | ||
| uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 | ||
| with: | ||
| path: packages/flutter/scripts/update-js.sh | ||
| name: JavaScript SDK | ||
| secrets: | ||
| api-token: ${{ secrets.CI_DEPLOY_KEY }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: getsentry/github-workflows/updater@v3 | ||
| with: | ||
| path: packages/flutter/scripts/update-js.sh | ||
| name: JavaScript SDK | ||
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | ||
|
|
||
| native: | ||
| uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 | ||
| with: | ||
| path: packages/flutter/scripts/update-native.sh | ||
| name: Native SDK | ||
| secrets: | ||
| api-token: ${{ secrets.CI_DEPLOY_KEY }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: getsentry/github-workflows/updater@v3 | ||
| with: | ||
| path: packages/flutter/scripts/update-native.sh | ||
| name: Native SDK | ||
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | ||
|
|
||
| metrics-flutter: | ||
| uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 | ||
| with: | ||
| path: metrics/flutter.properties | ||
| name: Flutter SDK (metrics) | ||
| changelog-entry: false | ||
| pr-strategy: update | ||
| secrets: | ||
| api-token: ${{ secrets.CI_DEPLOY_KEY }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: getsentry/github-workflows/updater@v3 | ||
| with: | ||
| path: metrics/flutter.properties | ||
| name: Flutter SDK Metrics | ||
| changelog-entry: false | ||
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | ||
buenaflor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
Comment on lines
54
to
63
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in the new version PR-Strategy is update by default so we dont need to define it |
||
| symbol-collector: | ||
| uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 | ||
| with: | ||
| path: scripts/update-symbol-collector.sh | ||
| name: Symbol collector CLI | ||
| changelog-entry: false | ||
| pr-strategy: update | ||
| secrets: | ||
| api-token: ${{ secrets.CI_DEPLOY_KEY }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: getsentry/github-workflows/updater@v3 | ||
| with: | ||
| path: scripts/update-symbol-collector.sh | ||
| name: Symbol Collector CLI | ||
| changelog-entry: false | ||
| ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
permissions needed according to the workflow setup guide