From ca980c88db7660a57f37819b672ee256af5dfffb Mon Sep 17 00:00:00 2001 From: Ni55aN Date: Thu, 13 Jul 2023 16:06:27 +0300 Subject: [PATCH] update workflows --- .github/workflows/ci.yml | 10 ++++++++++ .github/workflows/codeql.yml | 12 ++++++++++++ .github/workflows/commit-linter.yml | 9 +++++++++ .github/workflows/release.yml | 11 +++++++++++ .github/workflows/stale.yml | 11 +++++++++++ .github/workflows/update-docs.yml | 14 ++++++++++++++ 6 files changed, 67 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/codeql.yml create mode 100644 .github/workflows/commit-linter.yml create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/stale.yml create mode 100644 .github/workflows/update-docs.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7b58b66 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,10 @@ +name: CI + +on: + workflow_dispatch: + pull_request: + branches: [ "main", "beta" ] + +jobs: + ci: + uses: retejs/.github/.github/workflows/ci.yml@main diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..7564629 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,12 @@ +name: CodeQL + +on: + workflow_dispatch: + push: + branches: [ "main", "beta" ] + pull_request: + branches: [ "main", "beta" ] + +jobs: + codeql: + uses: retejs/.github/.github/workflows/codeql.yml@main diff --git a/.github/workflows/commit-linter.yml b/.github/workflows/commit-linter.yml new file mode 100644 index 0000000..9281698 --- /dev/null +++ b/.github/workflows/commit-linter.yml @@ -0,0 +1,9 @@ +name: Commit linter + +on: + pull_request: + branches: [ "main", "beta" ] + +jobs: + lint: + uses: retejs/.github/.github/workflows/commit-linter.yml@main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e1e399d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,11 @@ +name: Release + +on: + workflow_dispatch: + push: + branches: [ "main", "beta" ] + +jobs: + release: + uses: retejs/.github/.github/workflows/release.yml@main + secrets: inherit diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..7952d12 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,11 @@ +name: Close stale issues and PRs + +on: + workflow_dispatch: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + uses: retejs/.github/.github/workflows/stale.yml@main + secrets: inherit diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml new file mode 100644 index 0000000..953a9b7 --- /dev/null +++ b/.github/workflows/update-docs.yml @@ -0,0 +1,14 @@ +name: Update docs + +on: + workflow_dispatch: + push: + branches: [ "main" ] + +jobs: + pull: + uses: retejs/.github/.github/workflows/update-docs.yml@main + secrets: inherit + with: + filename: '1.rete' + package: rete