Skip to content

Commit 43aa2b1

Browse files
authored
fix: dartdoc workflow (#662)(#663)
* fix: dartdoc workflow * fix: SAST must run in all commit * chore: update changelog.md
1 parent 733c3af commit 43aa2b1

5 files changed

Lines changed: 14 additions & 32 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,7 @@ name: CodeQL - Dart/Flutter SAST Analysis
1212

1313
on:
1414
push:
15-
branches:
16-
- main
17-
- develop
1815
pull_request:
19-
branches:
20-
- main
21-
- develop
2216
schedule:
2317
- cron: '0 1 * * 1'
2418
workflow_dispatch:

.github/workflows/dartdoc-gh-pages.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12-
contents: read
12+
contents: write
13+
pages: write
14+
id-token: write
1315

1416
concurrency:
1517
group: "pages"
@@ -18,32 +20,28 @@ concurrency:
1820
jobs:
1921
build:
2022
runs-on: ubuntu-latest
21-
permissions:
22-
contents: read
23-
pages: write
24-
id-token: write
2523
steps:
2624
- name: Checkout
27-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
uses: actions/checkout@v3
2826
with:
2927
submodules: recursive
3028
- name: Setup Dart
31-
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1.7.1
29+
uses: dart-lang/setup-dart@v1
3230
with:
3331
sdk: stable
3432
- name: Setup environment
3533
uses: ./.github/actions/setup
3634
- name: Setup Pages
37-
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
35+
uses: actions/configure-pages@v3
3836
- name: Setup Ruby
39-
uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa4bbada0a35f085d # v1.229.0
37+
uses: ruby/setup-ruby@v1
4038
with:
4139
ruby-version: 3.3.5
4240
- name: Build with Dartdoc
4341
run: |
4442
cd ouds_core
4543
dart pub get
46-
dart doc .
44+
dart doc .
4745
- name: Move DartDoc output
4846
run: |
4947
mkdir -p ./docs
@@ -54,21 +52,19 @@ jobs:
5452
cp ouds_core/assets/doc/orange_logo.svg ./docs/assets/
5553
cp ouds_core/assets/doc/banner.png ./docs/assets/
5654
- name: Upload artifact
57-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
55+
uses: actions/upload-pages-artifact@v3
5856
with:
5957
path: ./docs
6058

6159
deploy:
6260
runs-on: ubuntu-latest
6361
needs: build
64-
permissions:
65-
contents: write
6662
steps:
6763
- name: Checkout repository
68-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
64+
uses: actions/checkout@v2
6965

7066
- name: Download artifact
71-
uses: actions/download-artifact@cc203385981b70ca67064455fa57f0e04c87c65f # v4.1.9
67+
uses: actions/download-artifact@v4
7268
with:
7369
name: github-pages
7470

@@ -98,3 +94,4 @@ jobs:
9894
git push origin gh-pages --force
9995
env:
10096
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
97+

.github/workflows/gitleaks.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ name: Gitleaks - Secret Scanning
1212

1313
on:
1414
push:
15-
branches:
16-
- main
17-
- develop
1815
pull_request:
1916
types:
2017
- opened

.github/workflows/semgrep.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,7 @@ name: Semgrep - Security Pattern Analysis
1212

1313
on:
1414
push:
15-
branches:
16-
- main
17-
- develop
1815
pull_request:
19-
branches:
20-
- main
21-
- develop
2216
schedule:
2317
- cron: '0 1 * * 1'
2418
workflow_dispatch:

app/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66
## [Unreleased](https://github.com/Orange-OpenSource/ouds-flutter/compare/1.1.2...develop)
77
### Added
8-
9-
- [DemoApp] Improve OSSF score ([#659](https://github.com/Orange-OpenSource/ouds-flutter/issues/659))
108
- [DemoApp][Library] Create component - `Toolbar top` ([#582](https://github.com/Orange-OpenSource/ouds-flutter/issues/582))
119
- [DemoApp][Library] Create component - `Top app bar` ([#91](https://github.com/Orange-OpenSource/ouds-flutter/issues/91))
1210
- [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
1614
- [Library] Manage Helvetica Neue Arabic font ([#404](https://github.com/Orange-OpenSource/ouds-flutter/issues/404))
1715

1816
### Changed
17+
- [DemoApp] Improve OSSF score ([#659](https://github.com/Orange-OpenSource/ouds-flutter/issues/659))
1918
- [DemoApp][Library] Downgrade to Flutter SDK 3.35 and update documentation ([#656](https://github.com/Orange-OpenSource/ouds-flutter/issues/656))
2019
- [DemoApp] Unused dependency detected in Flutter demo app ([#646](https://github.com/Orange-OpenSource/ouds-flutter/issues/646))
2120
- [DemoApp][Library] Remove OudsTagConfig and add rounded corner into `Tag` ([#598](https://github.com/Orange-OpenSource/ouds-flutter/issues/598))
2221
- [DemoApp][Library] Update uses icons of status in `badge` and `tag` ([#597](https://github.com/Orange-OpenSource/ouds-flutter/issues/597))
2322

2423
### Fixed
24+
- [DemoApp] Deploy Dartdoc with GitHub Pages dependencies ([#662](https://github.com/Orange-OpenSource/ouds-flutter/issues/662))
2525
- [DemoApp] `About` Text Overflow Issue in Arabic language ([#640](https://github.com/Orange-OpenSource/ouds-flutter/issues/640))
2626
- [Library] `Checkbox` Incorrect accessibility label ([#514](https://github.com/Orange-OpenSource/ouds-flutter/issues/514))
2727
- [Library] `Input Tag` The whole component should have the role button ([#481](https://github.com/Orange-OpenSource/ouds-flutter/issues/481))

0 commit comments

Comments
 (0)