diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1bc165a..b282185 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,2 @@ * @Coding-Autopilot-System/core +/.github/ @Coding-Autopilot-System/core diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e6fb29..eee477e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -170,6 +170,7 @@ jobs: if: always() needs: [build-and-test, acceptance, dashboard-e2e, stress, windows, supply-chain] runs-on: ubuntu-latest + timeout-minutes: 15 steps: - name: Require every enterprise gate env: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 421054f..8f12cdf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -4,10 +4,14 @@ on: branches: [ "main", "master" ] pull_request: branches: [ "main", "master" ] +permissions: + contents: read + jobs: analyze: name: Analyze runs-on: ubuntu-latest + timeout-minutes: 15 permissions: actions: read contents: read diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 6c1d78d..b7bf3d2 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -14,6 +14,7 @@ concurrency: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -29,6 +30,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest + timeout-minutes: 10 needs: build steps: - name: Deploy to GitHub Pages diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index fa422bc..e9325d4 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -6,9 +6,14 @@ on: - edited - synchronize +permissions: + contents: read + pull-requests: read + jobs: main: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: amannn/action-semantic-pull-request@v5 env: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 15bb31c..168db20 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -3,9 +3,15 @@ on: schedule: - cron: '0 0 * * *' +permissions: + contents: read + issues: write + pull-requests: write + jobs: stale: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/stale@v8 with: