From a2128a6501c6ebd12d35c4684884f6104ef29365 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Mon, 7 Aug 2023 21:19:11 -0400 Subject: [PATCH] ci: move more actions to org level --- .github/workflows/ci.yml | 2 +- .github/workflows/pr_validation.yml | 17 ----------------- .github/workflows/stale.yml | 21 ++------------------- 3 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 .github/workflows/pr_validation.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 339aa11..65d53c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI/CD +name: AstroNvim on: push: branches: [main] diff --git a/.github/workflows/pr_validation.yml b/.github/workflows/pr_validation.yml deleted file mode 100644 index ed5125c..0000000 --- a/.github/workflows/pr_validation.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: PR Checks - -on: pull_request - -jobs: - commit_msg: - name: Conventional Commit Messages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: webiny/action-conventional-commits@v1.1.0 - typos: - name: Spell Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: crate-ci/typos@master diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 391c6e7..ac2bac4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -5,22 +5,5 @@ on: jobs: stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v8 - with: - # default stale time - days-before-stale: 30 - days-before-close: 5 - # never stale pull requests - days-before-pr-stale: -1 - days-before-pr-close: -1 - # exclude issues with certain labels - exempt-issue-labels: pinned,wip,security,notice - # never stale issues attached to a milestone - exempt-all-milestones: true - # write message on stale issues - stale-issue-message: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed in 5 days if no further activity occurs. - Thank you for your contributions. + uses: AstroNvim/.github/.github/workflows/stale.yml@main + secrets: inherit