Skip to content

Commit 70d431b

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

3 files changed

Lines changed: 19 additions & 7 deletions

File tree

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ on:
55
branches:
66
- main
77
- develop
8+
- 664-improve-dartdoc-permissions
89

910
workflow_dispatch:
1011

1112
permissions:
12-
contents: write
13-
pages: write
14-
id-token: write
13+
read-all
1514

1615
concurrency:
1716
group: "pages"
@@ -20,6 +19,11 @@ concurrency:
2019
jobs:
2120
build:
2221
runs-on: ubuntu-latest
22+
permissions:
23+
contents: read
24+
pages: write
25+
id-token: write
26+
2327
steps:
2428
- name: Checkout
2529
uses: actions/checkout@v3
@@ -59,6 +63,11 @@ jobs:
5963
deploy:
6064
runs-on: ubuntu-latest
6165
needs: build
66+
permissions:
67+
contents: write
68+
pages: write
69+
id-token: write
70+
6271
steps:
6372
- name: Checkout repository
6473
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)