Skip to content

Commit ffa7503

Browse files
committed
chore: update files to improve score
1 parent 43aa2b1 commit ffa7503

3 files changed

Lines changed: 28 additions & 7 deletions

File tree

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

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,21 @@ on:
55
branches:
66
- main
77
- develop
8+
- 664-improve-dartdoc-permissions
9+
10+
pull_request:
11+
branches:
12+
- main
13+
- develop
14+
- 664-improve-dartdoc-permissions
15+
816

917
workflow_dispatch:
1018

1119
permissions:
12-
contents: write
13-
pages: write
14-
id-token: write
20+
contents: read
21+
pages: read
22+
id-token: read
1523

1624
concurrency:
1725
group: "pages"
@@ -20,6 +28,11 @@ concurrency:
2028
jobs:
2129
build:
2230
runs-on: ubuntu-latest
31+
permissions:
32+
contents: read
33+
pages: write
34+
id-token: write
35+
2336
steps:
2437
- name: Checkout
2538
uses: actions/checkout@v3
@@ -59,6 +72,11 @@ jobs:
5972
deploy:
6073
runs-on: ubuntu-latest
6174
needs: build
75+
permissions:
76+
contents: write
77+
pages: write
78+
id-token: write
79+
6280
steps:
6381
- name: Checkout repository
6482
uses: actions/checkout@v2

.github/workflows/scorecard.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212
schedule:
1313
- cron: '0 1 * * 1'
1414
push:
15-
branches: [ "develop" ]
15+
branches:
16+
- develop
17+
- 664-improve-dartdoc-permissions
1618

1719
# Declare default permissions as read only.
1820
permissions: read-all

app/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
### Added
88
- [DemoApp][Library] Create component - `Toolbar top` ([#582](https://github.com/Orange-OpenSource/ouds-flutter/issues/582))
99
- [DemoApp][Library] Create component - `Top app bar` ([#91](https://github.com/Orange-OpenSource/ouds-flutter/issues/91))
10-
- [DemoApp] Add in README OpenSSF scorecard ([#632](https://github.com/Orange-OpenSource/ouds-flutter/issues/632))
10+
- [Tool] Add in README OpenSSF scorecard ([#632](https://github.com/Orange-OpenSource/ouds-flutter/issues/632))
1111
- [DemoApp] Improve theme selections and tuning ([#356](https://github.com/Orange-OpenSource/ouds-flutter/issues/356))
1212
- [DemoApp][Library] Add french Language ([#638](https://github.com/Orange-OpenSource/ouds-flutter/issues/638))
1313
- [DemoApp][Library] Update the components definitions where relevant ([#549](https://github.com/Orange-OpenSource/ouds-flutter/issues/549))
1414
- [Library] Manage Helvetica Neue Arabic font ([#404](https://github.com/Orange-OpenSource/ouds-flutter/issues/404))
1515

1616
### Changed
17-
- [DemoApp] Improve OSSF score ([#659](https://github.com/Orange-OpenSource/ouds-flutter/issues/659))
17+
- [Tool] improve dartDoc permissions ([#664](https://github.com/Orange-OpenSource/ouds-flutter/issues/664))
18+
- [Tool] Improve OSSF score ([#659](https://github.com/Orange-OpenSource/ouds-flutter/issues/659))
1819
- [DemoApp][Library] Downgrade to Flutter SDK 3.35 and update documentation ([#656](https://github.com/Orange-OpenSource/ouds-flutter/issues/656))
1920
- [DemoApp] Unused dependency detected in Flutter demo app ([#646](https://github.com/Orange-OpenSource/ouds-flutter/issues/646))
2021
- [DemoApp][Library] Remove OudsTagConfig and add rounded corner into `Tag` ([#598](https://github.com/Orange-OpenSource/ouds-flutter/issues/598))
2122
- [DemoApp][Library] Update uses icons of status in `badge` and `tag` ([#597](https://github.com/Orange-OpenSource/ouds-flutter/issues/597))
2223

2324
### Fixed
24-
- [DemoApp] Deploy Dartdoc with GitHub Pages dependencies ([#662](https://github.com/Orange-OpenSource/ouds-flutter/issues/662))
25+
- [Tool] Deploy Dartdoc with GitHub Pages dependencies ([#662](https://github.com/Orange-OpenSource/ouds-flutter/issues/662))
2526
- [DemoApp] `About` Text Overflow Issue in Arabic language ([#640](https://github.com/Orange-OpenSource/ouds-flutter/issues/640))
2627
- [Library] `Checkbox` Incorrect accessibility label ([#514](https://github.com/Orange-OpenSource/ouds-flutter/issues/514))
2728
- [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)