-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into l10n_develop
- Loading branch information
Showing
81 changed files
with
1,956 additions
and
1,217 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -63,7 +63,7 @@ jobs: | |
- run: echo Release type ${{ inputs.RELEASE_TYPE }} + Build type ${{ inputs.BUILD_TYPE }} + Tag name null if not github release ${{ inputs.TAG_NAME }} | ||
|
||
- name: Setup Java JDK | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: ${{ env.JAVA_VERSION }} | ||
|
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -61,7 +61,7 @@ jobs: | |
run: bundle install | ||
working-directory: ./packages/smooth_app/android/ | ||
- name: Setup Java JDK | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: ${{ env.JAVA_VERSION }} | ||
|
@@ -110,7 +110,7 @@ jobs: | |
VERSION_CODE: ${{ inputs.VERSION_CODE }} | ||
|
||
- name: Build app | ||
run: cd ./packages/smooth_app && cd ios && rm -rf Pods && rm Podfile.lock && flutter pub get && pod install && cd .. && flutter build ios --release --no-codesign -t lib/entrypoints/ios/main_ios.dart | ||
run: cd ./packages/smooth_app && cd ios && rm -rf Pods && rm -f Podfile.lock && flutter pub get && pod install && cd .. && flutter build ios --release --no-codesign -t lib/entrypoints/ios/main_ios.dart | ||
env: | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
|
This file contains 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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# This file contains actions that can be performed on PRs by issuing a comment | ||
name: 🕹️ On demand PR action | ||
|
||
on: | ||
issue_comment: | ||
types: [created, edited] | ||
|
||
jobs: | ||
# Action to update test results by issuing /lint | ||
run_lint: | ||
name: "On demand linting" | ||
if: | | ||
github.event.issue.pull_request && | ||
(github.event.comment.body == '/lint') && | ||
contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get branch name | ||
# see https://github.com/actions/checkout/issues/331 | ||
id: get-branch | ||
run: echo ::set-output name=branch::$(gh pr view $PR_NO --repo $REPO --json headRefName --jq '.headRefName') | ||
env: | ||
REPO: ${{ github.repository }} | ||
PR_NO: ${{ github.event.issue.number }} | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }} | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
# grab the PR branch | ||
ref: ${{ steps.get-branch.outputs.branch }} | ||
# We can't use GITHUB_TOKEN here because, github actions can't trigger actions | ||
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow | ||
# So this is a personal access token | ||
token: ${{ secrets.RELEASE_PLEASE_TOKEN }} | ||
# we need origin/main to have comparison linting work ! | ||
- name: Fetch origin/develop | ||
run: | | ||
git remote set-branches --add origin develop | ||
git fetch origin | ||
- name: Run linting | ||
run: XXXXXXXX | ||
- name: Push changes if needed | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: Linting changes" | ||
branch: ${{ github.event.pull_request.head.ref }} | ||
commit_user_name: Open Food Facts Bot | ||
commit_user_email: [email protected] | ||
commit_author: Open Food Facts Bot <[email protected]> | ||
push_options: "" | ||
status_options: '--untracked-files=no' | ||
skip_dirty_check: false | ||
create_branch: no | ||
|
||
delete_3_letter_translation_files: | ||
name: "On demand deletion of 3-letter translation files" | ||
if: | | ||
github.event.issue.pull_request && | ||
(github.event.comment.body == '/lint') && | ||
contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get branch name | ||
# see https://github.com/actions/checkout/issues/331 | ||
id: get-branch | ||
run: echo ::set-output name=branch::$(gh pr view $PR_NO --repo $REPO --json headRefName --jq '.headRefName') | ||
env: | ||
REPO: ${{ github.repository }} | ||
PR_NO: ${{ github.event.issue.number }} | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }} | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
# grab the PR branch | ||
ref: ${{ steps.get-branch.outputs.branch }} | ||
# We can't use GITHUB_TOKEN here because, github actions can't trigger actions | ||
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow | ||
# So this is a personal access token | ||
token: ${{ secrets.RELEASE_PLEASE_TOKEN }} | ||
# we need origin/main to have comparison linting work ! | ||
- name: Fetch origin/develop | ||
run: | | ||
git remote set-branches --add origin develop | ||
git fetch origin | ||
- name: Deletion of 3-letter translation files (1/2) | ||
run: packages/smooth_app/ios/Runner/remove.sh | ||
- name: Deletion of 3-letter translation files (2/2) | ||
run: packages/smooth_app/lib/l10n/remove_3_letter_locales.sh | ||
- name: Push changes if needed | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: Deletion of 3-letter translation files" | ||
branch: ${{ github.event.pull_request.head.ref }} | ||
commit_user_name: Open Food Facts Bot | ||
commit_user_email: [email protected] | ||
commit_author: Open Food Facts Bot <[email protected]> | ||
push_options: "" | ||
status_options: '--untracked-files=no' | ||
skip_dirty_check: false | ||
create_branch: no |
This file contains 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 |
---|---|---|
|
@@ -16,10 +16,10 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Setup Java JDK | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 11 | ||
java-version: 17 | ||
|
||
# Get the flutter version from ./flutter-version.txt | ||
- run: echo "FLUTTER_VERSION=$(cat flutter-version.txt)" >> $GITHUB_OUTPUT | ||
|
This file contains 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 |
---|---|---|
|
@@ -27,10 +27,10 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Setup Java JDK | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 11 | ||
java-version: 17 | ||
|
||
# Get the flutter version from ./flutter-version.txt | ||
- run: echo "FLUTTER_VERSION=$(cat flutter-version.txt)" >> $GITHUB_OUTPUT | ||
|
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
description: This file stores settings for Dart & Flutter DevTools. | ||
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states | ||
extensions: |
This file contains 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
Oops, something went wrong.