Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -88,9 +88,9 @@

- name: Run backup
env:
GITHUB_TOKEN: ${{ secrets.GH_BACKUP_TOKEN }}

Check warning on line 91 in .github/workflows/backup.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

91:37 [colons] too many spaces after colon
GITHUB_USER: ${{ secrets.GH_USER }}

Check warning on line 92 in .github/workflows/backup.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

92:37 [colons] too many spaces after colon
GDRIVE_FOLDER_ID: ${{ secrets.GDRIVE_FOLDER_ID }}

Check warning on line 93 in .github/workflows/backup.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

93:37 [colons] too many spaces after colon
GOOGLE_CLIENT_SECRET_PATH: ./credentials/google-client-secret.json
GOOGLE_TOKEN_PATH: ./credentials/google-token.json
BACKUP_INCLUDE: ${{ github.event.inputs.include || 'code,issues,pull_requests,releases,wiki,labels,milestones' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
attestations: write # required to record the attestation
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Generate SPDX SBOM
uses: anchore/sbom-action@v0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: docker/login-action@v3
with:
registry: ghcr.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Check required secrets
id: check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/monthly-restore-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -37,12 +37,12 @@
id: restore_test
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GH_BACKUP_TOKEN }}

Check warning on line 40 in .github/workflows/monthly-restore-test.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

40:37 [colons] too many spaces after colon
GDRIVE_FOLDER_ID: ${{ secrets.GDRIVE_FOLDER_ID }}

Check warning on line 41 in .github/workflows/monthly-restore-test.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

41:37 [colons] too many spaces after colon
GOOGLE_CLIENT_SECRET_PATH: ./credentials/google-client-secret.json
GOOGLE_TOKEN_PATH: ./credentials/google-token.json

Check warning on line 43 in .github/workflows/monthly-restore-test.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

43:37 [colons] too many spaces after colon
DRY_RUN: 'true'

Check warning on line 44 in .github/workflows/monthly-restore-test.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

44:37 [colons] too many spaces after colon
BACKUP_TMP_DIR: /tmp/gh-restore-test

Check warning on line 45 in .github/workflows/monthly-restore-test.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

45:37 [colons] too many spaces after colon
run: |
echo "Starting monthly dry-run restore integrity test..."
node src/restore/index.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sla-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Check SLA and alert on breach
continue-on-error: true
Expand Down Expand Up @@ -77,7 +77,7 @@
\"subject\": \"🚨 Backup SLA Breach — $HOURS_AGO hours since last run\",
\"content\": [{
\"type\": \"text/html\",
\"value\": \"<h2 style='color:#dc2626'>Backup SLA Breach</h2><p>No successful backup has run in <strong>$HOURS_AGO hours</strong> (SLA threshold: $SLA_THRESHOLD hours).</p><p><strong>Last run:</strong> $LAST_RUN<br><strong>Status:</strong> $STATUS</p><p>Please check <a href='https://github.com/OmarRao/github-gdrive-backup/actions'>GitHub Actions</a> immediately.</p>\"

Check warning on line 80 in .github/workflows/sla-check.yml

View workflow job for this annotation

GitHub Actions / Build · Lint · Test

80:201 [line-length] line too long (390 > 200 characters)
}]
}"
fi
Expand Down
Loading