Skip to content

Commit 8e1595d

Browse files
committed
Merge remote-tracking branch 'upstream/master' into certifier-more-actions
2 parents 0c8f724 + b360576 commit 8e1595d

File tree

2,309 files changed

+126883
-15735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,309 files changed

+126883
-15735
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assignees: ''
88
---
99

1010
**Describe the bug**
11-
A clear and concise description of what the bug is.
11+
A clear and concise description of what the bug is. Note that this issue will be displayed publicly.
1212

1313
**To Reproduce**
1414
Steps to reproduce the behavior:
@@ -21,7 +21,7 @@ Steps to reproduce the behavior:
2121
A clear and concise description of what you expected to happen.
2222

2323
**Screenshots**
24-
If applicable, add screenshots to help explain your problem.
24+
If applicable, add screenshots to help explain your problem. Note that the screenshots will be displayed publicly.
2525

2626
**Desktop (please complete the following information):**
2727
- OS: [e.g. iOS]

.github/ISSUE_TEMPLATE/scopes-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: OAuth Scopes Request
33
about: Request to add a new scope to an OAuth integrated application
44
title: "[OAUTH SCOPE]"
5-
labels: scope request
5+
labels: ''
66
assignees: ''
77

88
---

.github/workflows/components-pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
restore-keys: |
6565
${{ runner.os }}-pnpm-store-
6666
- name: Setup Node Env
67-
uses: actions/[email protected].2
67+
uses: actions/[email protected].3
6868
with:
6969
node-version: 18
7070
registry-url: https://registry.npmjs.org/
@@ -153,7 +153,7 @@ jobs:
153153
restore-keys: |
154154
${{ runner.os }}-pnpm-store-
155155
- name: Setup Node Env
156-
uses: actions/[email protected].2
156+
uses: actions/[email protected].3
157157
with:
158158
node-version: 18
159159
registry-url: https://registry.npmjs.org/

.github/workflows/publish-components.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: pnpm install -r --no-frozen-lockfile
3131
- name: Setup Node Env
32-
uses: actions/[email protected].2
32+
uses: actions/[email protected].3
3333
with:
3434
node-version: 14
3535
registry-url: https://registry.npmjs.org/
@@ -64,12 +64,14 @@ jobs:
6464
PUBLISHED=""
6565
ERRORS=""
6666
SKIPPED=""
67-
mapfile -d ',' -t added_modified_renamed_files < <(printf '%s,%s' '${{ steps.files.outputs.added_modified }}' '${{ steps.files.outputs.renamed }}')
68-
for added_modified_file in "${added_modified_renamed_files[@]}"; do
69-
# starts with components, ends with .*js (e.g. .js and .mjs) and not app.js,
70-
# doesn't end with /common*.*js, and doesn't follow */common/
71-
if [[ $added_modified_file == components/* ]] && [[ $added_modified_file == *.*js ]] && [[ $added_modified_file != *.app.*js ]] \
72-
&& [[ $added_modified_file != */common*.*js ]] && [[ $added_modified_file != */common/* ]] && [[ $added_modified_file != components/*/test-event.mjs ]]
67+
# Ana06/[email protected] treats renamed files that are modified as modified. We shouldn't be renaming files without modification.
68+
mapfile -d ',' -t added_modified_files < <(printf '%s' '${{ steps.files.outputs.added_modified }}')
69+
for added_modified_file in "${added_modified_files[@]}";
70+
do
71+
# starts with components, ends with .*js (e.g. .js and .mjs) and not app.js,
72+
# doesn't end with /common*.*js, and doesn't follow */common/
73+
if [[ $added_modified_file == components/* ]] && [[ $added_modified_file == *.*js ]] && [[ $added_modified_file != *.app.*js ]] \
74+
&& [[ $added_modified_file != */common*.*js ]] && [[ $added_modified_file != */common/* ]] && [[ $added_modified_file != components/*/test-event.mjs ]]
7375
then
7476
echo "retrieving previous version for ${added_modified_file}"
7577
KEY=`echo $added_modified_file | tr '/' ' ' | awk '{ print $2 "-" $4 }'`
@@ -133,7 +135,7 @@ jobs:
133135
restore-keys: |
134136
${{ runner.os }}-pnpm-store-
135137
- name: Setup Node Env
136-
uses: actions/[email protected].2
138+
uses: actions/[email protected].3
137139
with:
138140
node-version: 14
139141
registry-url: https://registry.npmjs.org/
@@ -178,10 +180,11 @@ jobs:
178180
PUBLISHED=""
179181
ERRORS=""
180182
SKIPPED=""
181-
mapfile -d ',' -t added_modified_renamed_files < <(printf '%s,%s' '${{ steps.files.outputs.added_modified }}' '${{ steps.files.outputs.renamed }}')
183+
# Ana06/[email protected] treats renamed files that are modified as modified. We shouldn't be renaming files without modification.
184+
mapfile -d ',' -t added_modified_files < <(printf '%s' '${{ steps.files.outputs.added_modified }}')
182185
# included in the components dir, ends with .ts and not app.ts,
183186
# doesn't end with /common*.ts, and doesn't follow */common/
184-
for added_modified_file in "${added_modified_renamed_files[@]}";
187+
for added_modified_file in "${added_modified_files[@]}";
185188
do
186189
echo "Checking if $added_modified_file is a publishable ts file"
187190
if [[ $added_modified_file == components/* ]] && [[ $added_modified_file == *.ts ]] && [[ $added_modified_file != *.app.ts ]] \
@@ -231,8 +234,8 @@ jobs:
231234
fi
232235
fi
233236
else
234-
echo "${f} will not be added to the registry"
235-
SKIPPED+="*${f}"
237+
echo "${added_modified_file} will not be added to the registry"
238+
SKIPPED+="*${added_modified_file}"
236239
fi
237240
done
238241
# print out everything that didn't publish

.github/workflows/publish-marketplace-content.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: pnpm install -r --no-frozen-lockfile
3131
- name: Setup Node Env
32-
uses: actions/[email protected].2
32+
uses: actions/[email protected].3
3333
with:
3434
node-version: 14
3535
registry-url: https://registry.npmjs.org/

.github/workflows/publish-packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3838
restore-keys: |
3939
${{ runner.os }}-pnpm-store-
40-
- uses: actions/[email protected].2
40+
- uses: actions/[email protected].3
4141
with:
4242
node-version: 18
4343
registry-url: https://registry.npmjs.org/
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on:
2+
push:
3+
branches:
4+
- platform-1.x
5+
- platform-2.x
6+
7+
jobs:
8+
# See https://pnpm.io/continuous-integration#github-actions
9+
publish:
10+
name: pnpm publish
11+
runs-on: ubuntu-latest
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
steps:
15+
- uses: actions/[email protected]
16+
- uses: pnpm/[email protected]
17+
with:
18+
version: 7.33.6
19+
- uses: actions/[email protected]
20+
with:
21+
node-version: 18
22+
registry-url: https://registry.npmjs.org/
23+
cache: 'pnpm'
24+
- name: pnpm install
25+
run: pnpm install -r --no-frozen-lockfile
26+
- name: Compile TypeScript
27+
run: npm run build
28+
# See https://pnpm.io/using-changesets
29+
- name: Setup npmrc for pnpm publish
30+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
31+
- name: pnpm publish (platform)
32+
run: pnpm publish platform --no-git-checks

.github/workflows/pull-request-checks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
done
3636
3737
echo "files=${files}" >> $GITHUB_ENV
38-
- uses: rojopolis/spellcheck-github-actions@0.38.0
38+
- uses: rojopolis/spellcheck-github-actions@0.40.0
3939
name: Spellcheck
4040
if: ${{ env.files }}
4141
with:
@@ -70,7 +70,7 @@ jobs:
7070
- name: Install dependencies
7171
run: pnpm install -r
7272
- name: Setup Node Env
73-
uses: actions/[email protected].2
73+
uses: actions/[email protected].3
7474
with:
7575
node-version: 18
7676
registry-url: https://registry.npmjs.org/

0 commit comments

Comments
 (0)