Skip to content
Merged
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
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 * * *"
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 0 additions & 4 deletions project_template/.github/workflows/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on: # yamllint disable-line rule:truthy
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- "**/*.md"
- .gitignore
- LICENSE

concurrency:
{% raw -%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 * * *"
Expand Down