diff --git a/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md similarity index 100% rename from CODE_OF_CONDUCT.md rename to .github/CODE_OF_CONDUCT.md diff --git a/.github/workflows/awesome-lint.yml b/.github/workflows/awesome-lint.yml index 1f4e263..6ea43d9 100644 --- a/.github/workflows/awesome-lint.yml +++ b/.github/workflows/awesome-lint.yml @@ -3,10 +3,13 @@ on: pull_request: branches: [main] jobs: - Awesome_Lint: + awesome-Lint: + permissions: + contents: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: + persist-credentials: false fetch-depth: 0 - run: npx awesome-lint diff --git a/.github/workflows/check-markdown-links.yml b/.github/workflows/check-markdown-links.yml index 75fb026..af5966d 100644 --- a/.github/workflows/check-markdown-links.yml +++ b/.github/workflows/check-markdown-links.yml @@ -1,14 +1,20 @@ -name: Check Markdown links +name: Link Checker on: - push: - schedule: - - cron: "0 0 * * *" + pull_request: workflow_dispatch: + schedule: + - cron: "0 0 * * 0" jobs: - markdown-link-check: + link-checker: + permissions: + contents: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: gaurav-nelson/github-action-markdown-link-check@v1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + + - name: Link Checker + uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1 diff --git a/.github/workflows/retype-action.yml b/.github/workflows/retype-action.yml index 5194490..e3595af 100644 --- a/.github/workflows/retype-action.yml +++ b/.github/workflows/retype-action.yml @@ -7,19 +7,17 @@ on: jobs: publish: - name: Publish to retype branch - runs-on: ubuntu-latest - permissions: contents: write - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - dotnet-version: 7.0.x + persist-credentials: false + + - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + with: + dotnet-version: 9.0.x - uses: retypeapp/action-build@latest diff --git a/CODE_OF_CONDUCT.yml b/CODE_OF_CONDUCT.yml deleted file mode 100644 index ae90165..0000000 --- a/CODE_OF_CONDUCT.yml +++ /dev/null @@ -1,3 +0,0 @@ -label: Code of Conduct -order: -4 -visibility: hidden