diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cee8bc9..261f9b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,10 +6,6 @@ on: # yamllint disable-line rule:truthy branches: [main] pull_request: branches: [main] - paths-ignore: - - "**/*.md" - - .gitignore - - LICENSE concurrency: group: "${{ github.head_ref || github.ref }}-${{ github.workflow }}" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 017d9b4..1dd1b6b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,10 +13,7 @@ on: # yamllint disable-line rule:truthy pull_request: # The branches below must be a subset of the branches above branches: [main] - paths-ignore: - - "**/*.md" - - .gitignore - - LICENSE + schedule: # Run on a daily interval at 12pm UTC - cron: "0 12 * * *" diff --git a/README.md b/README.md index 75ce0c0..363122a 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,8 @@ directory should match the name of the repository you want to create. #### Initialising a Git Repository and Pushing to GitHub -**This step is only required if you answered `No` to the `set_up_git_repo` question. Otherwise, this would +**This step is only required if you answered `No` to the `Do you want to set up the git repository?` question. +Otherwise, this would have been automatically done for you.** 1. Go to your project directory, and initialise a git repository and make the initial commit @@ -186,8 +187,9 @@ Few key points to note are: - **[Security Alerts](https://github.com/ONSdigital/ons-template/wiki/6.2-Security)**: Make use of Secret scanning and Push protection. Dependabot alerts will be enabled by default when using this template. -If you answered `Yes` to the `set_up_git_repo` question, then these settings would have been automatically configured -for you. However, it is recommended to review these settings to ensure they meet your requirements. +If you answered `Yes` to the `Do you want to set up the git repository?` question, then these settings would have been +automatically configured for you. However, it is recommended to review these settings to ensure they meet your +requirements. #### 3. MegaLinter diff --git a/project_template/.github/workflows/ci.yml.jinja b/project_template/.github/workflows/ci.yml.jinja index 0b25d70..e8d42e8 100644 --- a/project_template/.github/workflows/ci.yml.jinja +++ b/project_template/.github/workflows/ci.yml.jinja @@ -6,10 +6,6 @@ on: # yamllint disable-line rule:truthy branches: [main] pull_request: branches: [main] - paths-ignore: - - "**/*.md" - - .gitignore - - LICENSE concurrency: {% raw -%} diff --git a/project_template/.github/workflows/{% if is_public_repo %}codeql.yml{% endif %} b/project_template/.github/workflows/{% if is_public_repo %}codeql.yml{% endif %} index 017d9b4..1dd1b6b 100644 --- a/project_template/.github/workflows/{% if is_public_repo %}codeql.yml{% endif %} +++ b/project_template/.github/workflows/{% if is_public_repo %}codeql.yml{% endif %} @@ -13,10 +13,7 @@ on: # yamllint disable-line rule:truthy pull_request: # The branches below must be a subset of the branches above branches: [main] - paths-ignore: - - "**/*.md" - - .gitignore - - LICENSE + schedule: # Run on a daily interval at 12pm UTC - cron: "0 12 * * *"