Skip to content

Commit

Permalink
Merge pull request #533 from chartingshow/github-actions-sec
Browse files Browse the repository at this point in the history
Protect GitHub Actions Artifacts
  • Loading branch information
summercms committed Aug 19, 2024
2 parents 296b0f7 + 736ef65 commit 082a81a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ jobs:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md,yml,json,vue,scss}
prettier_plugins: "prettier-plugin-tailwindcss prettier-plugin-go-template"

- name: Protect GitHub Actions Artifacts
uses: PaloAltoNetworks/upload-secure-artifact@main
with:
name: python-build
path: /output
6 changes: 6 additions & 0 deletions .github/workflows/remove-old-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ jobs:
# Optional inputs
# skip-tags: true
# skip-recent: 5

- name: Protect GitHub Actions Artifacts
uses: PaloAltoNetworks/upload-secure-artifact@main
with:
name: python-build
path: /output
9 changes: 9 additions & 0 deletions .github/workflows/update-module-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ jobs:
exit 1
fi
exit 0
- name: Clone uAssets
uses: actions/checkout@v4

- name: Fetch module assets
run: |
./tools/update-modules.sh
- name: Commit changes, if any
run: |
if [[ -n $(git diff) ]]; then
Expand All @@ -38,3 +41,9 @@ jobs:
git commit -m "Update all module assets"
git push origin master
fi
- name: Protect GitHub Actions Artifacts
uses: PaloAltoNetworks/upload-secure-artifact@main
with:
name: python-build
path: /output

0 comments on commit 082a81a

Please sign in to comment.