Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Feb 2, 2024
1 parent 702141b commit 69c54a5
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 1,220 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/announce-new-release-discord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
release:
types:
- "published"
permissions: {}
jobs:
main:
name: "Main"
permissions: {}
runs-on: "ubuntu-latest"
steps:
- name: "Send Discord Webhook"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "CodeQL - Analysis"
name: "CodeQL Analysis"
on:
push:
branches:
Expand All @@ -13,10 +13,10 @@ on:
- "reopened"
- "synchronize"
workflow_dispatch:
permissions:
contents: "read"
security-events: "write"
jobs:
main:
name: "Main"
permissions:
contents: "read"
security-events: "write"
uses: "hugoalh/hugoalh/.github/workflows/call-codeql-analysis-0.yml@main"
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "NodeJS - Publish - NPM"
name: "Publish NPM"
on:
release:
types:
- "published"
permissions:
contents: "write"
id-token: "write"
jobs:
main:
name: "Main"
uses: "hugoalh/hugoalh/.github/workflows/call-nodejs-publish-npm-0.yml@main"
permissions:
contents: "write"
id-token: "write"
uses: "hugoalh/hugoalh/.github/workflows/call-publish-npm-0.yml@main"
secrets:
NPM_TOKEN: "${{secrets.NPM_TOKEN}}"
4 changes: 2 additions & 2 deletions .github/workflows/scan-virus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ on:
options:
- "False"
- "True"
permissions:
contents: "read"
jobs:
main:
name: "Main"
permissions:
contents: "read"
uses: "hugoalh/hugoalh/.github/workflows/call-scan-virus-0.yml@main"
with:
git_integrate: "${{github.event.inputs.git_integrate || 'False'}}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
paths:
- ".github/labels.yml"
workflow_dispatch:
permissions:
contents: "read"
issues: "write"
pull-requests: "write"
jobs:
main:
name: "Main"
permissions:
contents: "read"
issues: "write"
pull-requests: "write"
uses: "hugoalh/hugoalh/.github/workflows/call-sync-labels-0.yml@main"
Loading

0 comments on commit 69c54a5

Please sign in to comment.