diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..4c8f27ef --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly + open-pull-requests-limit: 3 + cooldown: + default-days: 7 + groups: + actions: + patterns: ["*"] + - package-ecosystem: swift + directory: /TakelineCore + schedule: + interval: monthly + open-pull-requests-limit: 3 + cooldown: + default-days: 7 + groups: + swift: + patterns: ["*"] diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 00000000..02b3fa7d --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,42 @@ +name: Scorecard + +on: + branch_protection_rule: + schedule: + - cron: "17 5 * * 1" + push: + branches: [master] + +permissions: read-all + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + permissions: + security-events: write + id-token: write + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Run analysis + uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + + - name: Upload the results as an artifact + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + - name: Upload the results to code scanning + uses: github/codeql-action/upload-sarif@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 + with: + sarif_file: results.sarif diff --git a/README.md b/README.md index e2337ec1..e257b3ef 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Based on Textream by Fatih Kadir Akın.
- + ---