Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 0 additions & 97 deletions .github/workflows/automerge.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build-tutorial-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
building-changed: ${{ steps.changes.outputs.building }}
tutorials: ${{ steps.set-matrix.outputs.tutorials }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
Comment thread
ruokun-niu marked this conversation as resolved.
Outdated

- uses: dorny/paths-filter@v2
id: changes
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: DevSkim

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '30 0 * * 0'
workflow_dispatch:

permissions:
contents: read

jobs:
devskim:
permissions:
actions: read
contents: read
security-events: write
uses: drasi-project/.github/.github/workflows/devskim.yaml@main
Comment thread
ruokun-niu marked this conversation as resolved.
2 changes: 1 addition & 1 deletion .github/workflows/manual-build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
Comment thread
ruokun-niu marked this conversation as resolved.
Outdated

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Zip tutorial folder
run: |
Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Copyright 2024 The Drasi Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Scorecard supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '15 15 * * 1'
push:
branches: [ "main" ]

permissions: read-all

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
if: github.repository == 'drasi-project/learning'

permissions:
security-events: write
id-token: write
contents: read
actions: read

steps:
- name: "Checkout code"
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: results.sarif
results_format: sarif
publish_results: true

- name: "Upload artifact"
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
sarif_file: results.sarif
6 changes: 3 additions & 3 deletions .github/workflows/tutorial-evaluation-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:

steps:
- name: Checkout this repo
uses: actions/checkout@v4
uses: actions/checkout@v5
Comment thread
ruokun-niu marked this conversation as resolved.
Outdated
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Checkout docs repo
uses: actions/checkout@v4
uses: actions/checkout@v5
Comment thread
ruokun-niu marked this conversation as resolved.
Outdated
with:
repository: drasi-project/docs
ref: main
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
fi

- name: Upload evaluation results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
if: always()
with:
name: evaluation-results-${{ matrix.tutorial }}-${{ github.event.pull_request.number || github.run_id }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tutorial-evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ jobs:
environment: tutorial-evaluation
steps:
- name: Checkout this repo
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Checkout docs repo
uses: actions/checkout@v4
uses: actions/checkout@v5
Comment thread
ruokun-niu marked this conversation as resolved.
Outdated
with:
repository: drasi-project/docs
ref: ${{ inputs.docs_repo_branch }}
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
fi

- name: Upload evaluation results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
Comment thread
ruokun-niu marked this conversation as resolved.
Outdated
if: always()
with:
name: evaluation-results-${{ inputs.tutorial }}
Expand Down
37 changes: 0 additions & 37 deletions renovate.json

This file was deleted.

Loading