Skip to content

Commit 7e33fb9

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

3 files changed

Lines changed: 26 additions & 7 deletions

File tree

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

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

910
workflow_dispatch:
1011

12+
pull_request:
13+
types:
14+
- opened
15+
- synchronize
16+
- labeled
17+
- unlabeled
18+
1119
permissions:
12-
contents: write
13-
pages: write
14-
id-token: write
20+
read-all
1521

1622
concurrency:
1723
group: "pages"
@@ -20,6 +26,11 @@ concurrency:
2026
jobs:
2127
build:
2228
runs-on: ubuntu-latest
29+
permissions:
30+
contents: read
31+
pages: write
32+
id-token: write
33+
2334
steps:
2435
- name: Checkout
2536
uses: actions/checkout@v3
@@ -59,6 +70,11 @@ jobs:
5970
deploy:
6071
runs-on: ubuntu-latest
6172
needs: build
73+
permissions:
74+
contents: write
75+
pages: write
76+
id-token: write
77+
6278
steps:
6379
- name: Checkout repository
6480
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)