diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4e11b375..e0db0592 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,14 +13,20 @@ updates: - "/infra/dataform-service" schedule: interval: "weekly" + cooldown: + default-days: 7 - package-ecosystem: "terraform" directories: - "/infra/tf/" schedule: interval: "weekly" + cooldown: + default-days: 7 - package-ecosystem: "github-actions" directory: "/" schedule: interval: "weekly" + cooldown: + default-days: 7 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8cfade55..790c4b9e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,7 +27,7 @@ jobs: persist-credentials: false - name: Lint Code Base - uses: super-linter/super-linter/slim@v8.2.1 + uses: super-linter/super-linter/slim@v8.3.0 env: DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/workspace/restore_data.ipynb b/workspace/restore_data.ipynb index 9dc5d268..26c160ff 100644 --- a/workspace/restore_data.ipynb +++ b/workspace/restore_data.ipynb @@ -23,11 +23,11 @@ }, "outputs": [], "source": [ - "QUERY = \"\"\"\n", + "query = \"\"\"\n", "## [Restore deleted dataset](https://docs.cloud.google.com/bigquery/docs/restore-deleted-datasets#restore_a_dataset)\n", "UNDROP SCHEMA httparchive.crawl;\n", "\"\"\"\n", - "client.query(QUERY).result()" + "client.query(query).result()" ] }, { @@ -55,14 +55,14 @@ }, "outputs": [], "source": [ - "QUERY = \"\"\"\n", + "query = \"\"\"\n", "## [Restore a table to a specific point in time](https://cloud.google.com/bigquery/docs/restore-tables#restoring_a_table_to_a_specific_point_in_time)\n", "CREATE TABLE httparchive.crawl_staging.pages_restored_20250804 AS\n", "SELECT *\n", "FROM httparchive.crawl.pages\n", " FOR SYSTEM_TIME AS OF TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 HOUR);\n", "\"\"\"\n", - "client.query(QUERY).result()" + "client.query(query).result()" ] } ],