Skip to content

Commit

Permalink
chore: disable railways cron ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pxseu committed Oct 2, 2023
1 parent ddd3851 commit cc95ab3
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 54 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/label-check.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
38 changes: 19 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/update-nixpkgs-archive.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cc95ab3

Please sign in to comment.