diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b434307f..e87dfbe8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,12 @@ -on: - push: - branches: - - main - paths-ignore: - - "docs/**" - pull_request: - paths-ignore: - - "docs/**" +# on: +# push: +# branches: +# - main +# paths-ignore: +# - "docs/**" +# pull_request: +# paths-ignore: +# - "docs/**" name: CI diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3d97654ac..f84161667 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,12 +1,12 @@ -on: - push: - branches: - - main - paths: - - 'docs/**' - pull_request: - paths: - - 'docs/**' +# on: +# push: +# branches: +# - main +# paths: +# - 'docs/**' +# pull_request: +# paths: +# - 'docs/**' name: Docs diff --git a/.github/workflows/label-check.yml b/.github/workflows/label-check.yml index 00b6118d1..61ed45a2b 100644 --- a/.github/workflows/label-check.yml +++ b/.github/workflows/label-check.yml @@ -1,8 +1,8 @@ name: Release Label Check -on: - pull_request_target: - types: [opened, labeled, unlabeled, synchronize] +# on: +# pull_request_target: +# types: [opened, labeled, unlabeled, synchronize] jobs: label-check: @@ -12,5 +12,5 @@ jobs: with: github-token: "${{ secrets.GITHUB_TOKEN }}" valid-labels: "release/patch, release/minor, release/major, release/skip" - pull-request-number: '${{ github.event.pull_request.number }}' + pull-request-number: "${{ github.event.pull_request.number }}" disable-reviews: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a937e7a94..a9cc46858 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,17 +1,17 @@ -on: - push: - branches: - - main - paths: - - 'base/publish/*' - pull_request: - branches: - - main - paths: - - 'base/publish/*' - schedule: - - cron: '0 0 * * 2' - workflow_dispatch: +# on: +# push: +# branches: +# - main +# paths: +# - 'base/publish/*' +# pull_request: +# branches: +# - main +# paths: +# - 'base/publish/*' +# schedule: +# - cron: '0 0 * * 2' +# workflow_dispatch: name: Publish Debian & Ubuntu Base Images @@ -41,11 +41,11 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: Get current date id: date run: echo "::set-output name=date::$(date +%s)" - + - name: Build and push [Debian] uses: docker/build-push-action@v5 with: @@ -67,7 +67,7 @@ jobs: run: | sed -i 's/nixpacks:debian-.*/nixpacks:debian-${{ steps.date.outputs.date }}";/g' src/nixpacks/images.rs sed -i 's/nixpacks:ubuntu-.*/nixpacks:ubuntu-${{ steps.date.outputs.date }}";/g' src/nixpacks/images.rs - + - name: Create Pull Request if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} uses: peter-evans/create-pull-request@v5 @@ -79,13 +79,13 @@ jobs: delete-branch: true title: Bump base images to `${{ steps.date.outputs.date }}` labels: release/patch - + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - + - name: Build and push to Docker Hub [Debian] uses: docker/build-push-action@v5 with: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1f4143f6a..9e90caef4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,9 +1,9 @@ -name: 'Close stale issues and PRs' +name: "Close stale issues and PRs" -on: - schedule: - - cron: '30 1 * * *' - workflow_dispatch: +# on: +# schedule: +# - cron: '30 1 * * *' +# workflow_dispatch: jobs: stale: @@ -18,9 +18,9 @@ jobs: days-before-pr-close: 5 days-before-issue-stale: -1 # Issues never go stale or close days-before-issue-close: -1 - stale-pr-label: 'stale' - stale-pr-message: 'This pull request is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 5 days' - close-pr-message: 'This pull request was closed for lack of activity. Feel free to reopen later.' - exempt-pr-labels: 'awaiting-approval,work-in-progress' + stale-pr-label: "stale" + stale-pr-message: "This pull request is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 5 days" + close-pr-message: "This pull request was closed for lack of activity. Feel free to reopen later." + exempt-pr-labels: "awaiting-approval,work-in-progress" env: ACTIONS_STEP_DEBUG: true diff --git a/.github/workflows/update-nixpkgs-archive.yml b/.github/workflows/update-nixpkgs-archive.yml index cdae572a9..2aa6b2860 100644 --- a/.github/workflows/update-nixpkgs-archive.yml +++ b/.github/workflows/update-nixpkgs-archive.yml @@ -1,9 +1,9 @@ name: Update Nixpkgs Archive -on: - schedule: - # Every Monday at 5 PM (UTC) - - cron: '0 17 * * 1' +# on: +# schedule: +# # Every Monday at 5 PM (UTC) +# - cron: '0 17 * * 1' env: BRANCH_NAME: auto-update/nixpkgs-archive