Skip to content

Commit f1804d4

Browse files
authored
Merge pull request #354 from github/workflow-updates
Workflow Updates
2 parents 2d57cf4 + 109818f commit f1804d4

File tree

6 files changed

+18
-2
lines changed

6 files changed

+18
-2
lines changed

.github/workflows/actions-config-validation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18+
with:
19+
persist-credentials: false
1820

1921
- name: actions-config-validation
2022
uses: GrantBirki/json-yaml-validate@e42e6ece9b97f2b220274c909a9a98e380c2c9fd # [email protected]

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
steps:
2828
- name: checkout
2929
uses: actions/checkout@v4
30+
with:
31+
persist-credentials: false
3032

3133
# Initializes the CodeQL tools for scanning.
3234
- name: Initialize CodeQL

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
persist-credentials: false
1618

1719
- name: setup node
1820
uses: actions/setup-node@v4

.github/workflows/package-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
1921

2022
- name: setup node
2123
uses: actions/setup-node@v4

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
persist-credentials: false
1618

1719
- name: setup node
1820
uses: actions/setup-node@v4

.github/workflows/update-latest-release-tag.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ jobs:
2323
- uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
26+
persist-credentials: false
2627

2728
- name: git config
2829
run: |
2930
git config user.name github-actions
3031
git config user.email [email protected]
3132
3233
- name: tag new target
33-
run: git tag -f ${{ github.event.inputs.major_version_tag }} ${{ github.event.inputs.source_tag }}
34+
env:
35+
SOURCE_TAG: ${{ github.event.inputs.source_tag }}
36+
MAJOR_VERSION_TAG: ${{ github.event.inputs.major_version_tag }}
37+
run: git tag -f ${MAJOR_VERSION_TAG} ${SOURCE_TAG}
3438

3539
- name: push new tag
36-
run: git push origin ${{ github.event.inputs.major_version_tag }} --force
40+
env:
41+
MAJOR_VERSION_TAG: ${{ github.event.inputs.major_version_tag }}
42+
run: git push origin ${MAJOR_VERSION_TAG} --force

0 commit comments

Comments
 (0)