diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0e5bae85f..0fc718e63 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,13 +12,7 @@ name: CodeQL - Dart/Flutter SAST Analysis on: push: - branches: - - main - - develop pull_request: - branches: - - main - - develop schedule: - cron: '0 1 * * 1' workflow_dispatch: diff --git a/.github/workflows/dartdoc-gh-pages.yml b/.github/workflows/dartdoc-gh-pages.yml index 9a2ba0531..5e4a8dc6a 100644 --- a/.github/workflows/dartdoc-gh-pages.yml +++ b/.github/workflows/dartdoc-gh-pages.yml @@ -9,7 +9,9 @@ on: workflow_dispatch: permissions: - contents: read + contents: write + pages: write + id-token: write concurrency: group: "pages" @@ -18,32 +20,28 @@ concurrency: jobs: build: runs-on: ubuntu-latest - permissions: - contents: read - pages: write - id-token: write steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v3 with: submodules: recursive - name: Setup Dart - uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1.7.1 + uses: dart-lang/setup-dart@v1 with: sdk: stable - name: Setup environment uses: ./.github/actions/setup - name: Setup Pages - uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 + uses: actions/configure-pages@v3 - name: Setup Ruby - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa4bbada0a35f085d # v1.229.0 + uses: ruby/setup-ruby@v1 with: ruby-version: 3.3.5 - name: Build with Dartdoc run: | cd ouds_core dart pub get - dart doc . + dart doc . - name: Move DartDoc output run: | mkdir -p ./docs @@ -54,21 +52,19 @@ jobs: cp ouds_core/assets/doc/orange_logo.svg ./docs/assets/ cp ouds_core/assets/doc/banner.png ./docs/assets/ - name: Upload artifact - uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 + uses: actions/upload-pages-artifact@v3 with: path: ./docs deploy: runs-on: ubuntu-latest needs: build - permissions: - contents: write steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v2 - name: Download artifact - uses: actions/download-artifact@cc203385981b70ca67064455fa57f0e04c87c65f # v4.1.9 + uses: actions/download-artifact@v4 with: name: github-pages @@ -98,3 +94,4 @@ jobs: git push origin gh-pages --force env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index 255abe295..f57e241ab 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -12,9 +12,6 @@ name: Gitleaks - Secret Scanning on: push: - branches: - - main - - develop pull_request: types: - opened diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 04b53c3c2..2ae752e92 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -12,13 +12,7 @@ name: Semgrep - Security Pattern Analysis on: push: - branches: - - main - - develop pull_request: - branches: - - main - - develop schedule: - cron: '0 1 * * 1' workflow_dispatch: diff --git a/app/CHANGELOG.md b/app/CHANGELOG.md index 52868a7ea..9cade658b 100644 --- a/app/CHANGELOG.md +++ b/app/CHANGELOG.md @@ -5,8 +5,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased](https://github.com/Orange-OpenSource/ouds-flutter/compare/1.1.2...develop) ### Added - -- [DemoApp] Improve OSSF score ([#659](https://github.com/Orange-OpenSource/ouds-flutter/issues/659)) - [DemoApp][Library] Create component - `Toolbar top` ([#582](https://github.com/Orange-OpenSource/ouds-flutter/issues/582)) - [DemoApp][Library] Create component - `Top app bar` ([#91](https://github.com/Orange-OpenSource/ouds-flutter/issues/91)) - [DemoApp] Add in README OpenSSF scorecard ([#632](https://github.com/Orange-OpenSource/ouds-flutter/issues/632)) @@ -16,12 +14,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Library] Manage Helvetica Neue Arabic font ([#404](https://github.com/Orange-OpenSource/ouds-flutter/issues/404)) ### Changed +- [DemoApp] Improve OSSF score ([#659](https://github.com/Orange-OpenSource/ouds-flutter/issues/659)) - [DemoApp][Library] Downgrade to Flutter SDK 3.35 and update documentation ([#656](https://github.com/Orange-OpenSource/ouds-flutter/issues/656)) - [DemoApp] Unused dependency detected in Flutter demo app ([#646](https://github.com/Orange-OpenSource/ouds-flutter/issues/646)) - [DemoApp][Library] Remove OudsTagConfig and add rounded corner into `Tag` ([#598](https://github.com/Orange-OpenSource/ouds-flutter/issues/598)) - [DemoApp][Library] Update uses icons of status in `badge` and `tag` ([#597](https://github.com/Orange-OpenSource/ouds-flutter/issues/597)) ### Fixed +- [DemoApp] Deploy Dartdoc with GitHub Pages dependencies ([#662](https://github.com/Orange-OpenSource/ouds-flutter/issues/662)) - [DemoApp] `About` Text Overflow Issue in Arabic language ([#640](https://github.com/Orange-OpenSource/ouds-flutter/issues/640)) - [Library] `Checkbox` Incorrect accessibility label ([#514](https://github.com/Orange-OpenSource/ouds-flutter/issues/514)) - [Library] `Input Tag` The whole component should have the role button ([#481](https://github.com/Orange-OpenSource/ouds-flutter/issues/481))