Skip to content

Commit 4903704

Browse files
Merge branch 'main' into copilot/fix-54
2 parents c7e1e9b + 9fd70c8 commit 4903704

File tree

12 files changed

+326
-77
lines changed

12 files changed

+326
-77
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: github-actions # See documentation for possible values
9+
directory: / # Location of package manifests
10+
labels:
11+
- dependencies
12+
- github-actions
13+
schedule:
14+
interval: daily
15+
cooldown:
16+
default-days: 7

.github/linters/zizmor.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
rules:
2+
template-injection:
3+
ignore:
4+
- action.yml

.github/workflows/Action-Test-Prerelease.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,20 @@ concurrency:
1212
permissions:
1313
contents: read
1414
pull-requests: read
15+
id-token: write
1516

1617
jobs:
1718
ActionTest:
1819
uses: ./.github/workflows/TestWorkflow.yml
19-
secrets: inherit
20+
secrets:
21+
TEST_USER_PAT: ${{ secrets.TEST_USER_PAT }}
22+
TEST_USER_USER_FG_PAT: ${{ secrets.TEST_USER_USER_FG_PAT }}
23+
TEST_USER_ORG_FG_PAT: ${{ secrets.TEST_USER_ORG_FG_PAT }}
24+
TEST_APP_ENT_CLIENT_ID: ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
25+
TEST_APP_ENT_PRIVATE_KEY: ${{ secrets.TEST_APP_ENT_PRIVATE_KEY }}
26+
TEST_APP_ORG_CLIENT_ID: ${{ secrets.TEST_APP_ORG_CLIENT_ID }}
27+
TEST_APP_ORG_PRIVATE_KEY: ${{ secrets.TEST_APP_ORG_PRIVATE_KEY }}
28+
KEYVAULT_KEY_REFERENCE: ${{ secrets.KEYVAULT_KEY_REFERENCE }}
2029
strategy:
2130
fail-fast: false
2231
matrix:

.github/workflows/Action-Test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,20 @@ concurrency:
1515
permissions:
1616
contents: read
1717
pull-requests: read
18+
id-token: write
1819

1920
jobs:
2021
ActionTest:
2122
uses: ./.github/workflows/TestWorkflow.yml
22-
secrets: inherit
23+
secrets:
24+
TEST_USER_PAT: ${{ secrets.TEST_USER_PAT }}
25+
TEST_USER_USER_FG_PAT: ${{ secrets.TEST_USER_USER_FG_PAT }}
26+
TEST_USER_ORG_FG_PAT: ${{ secrets.TEST_USER_ORG_FG_PAT }}
27+
TEST_APP_ENT_CLIENT_ID: ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
28+
TEST_APP_ENT_PRIVATE_KEY: ${{ secrets.TEST_APP_ENT_PRIVATE_KEY }}
29+
TEST_APP_ORG_CLIENT_ID: ${{ secrets.TEST_APP_ORG_CLIENT_ID }}
30+
TEST_APP_ORG_PRIVATE_KEY: ${{ secrets.TEST_APP_ORG_PRIVATE_KEY }}
31+
KEYVAULT_KEY_REFERENCE: ${{ secrets.KEYVAULT_KEY_REFERENCE }}
2332
strategy:
2433
fail-fast: false
2534
matrix:

.github/workflows/Auto-Release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Auto-Release
33
run-name: "Auto-Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
44

55
on:
6-
pull_request_target:
6+
pull_request:
77
branches:
88
- main
99
types:
@@ -26,9 +26,11 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout Code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30+
with:
31+
persist-credentials: false
3032

3133
- name: Auto-Release
32-
uses: PSModule/Auto-Release@v1
34+
uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5
3335
env:
3436
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/Linter.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout repo
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
24+
persist-credentials: false
2425
fetch-depth: 0
2526

2627
- name: Lint code base
27-
uses: super-linter/super-linter@latest
28+
uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2
2829
env:
2930
GITHUB_TOKEN: ${{ github.token }}
31+
VALIDATE_BIOME_FORMAT: false
3032
VALIDATE_JSON_PRETTIER: false
3133
VALIDATE_MARKDOWN_PRETTIER: false
3234
VALIDATE_YAML_PRETTIER: false

0 commit comments

Comments
 (0)