Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
90cd3bf
Fix layouts
paulrobertlloyd Apr 13, 2026
50b0f1a
Show notification above page heading within session banner component
paulrobertlloyd Apr 13, 2026
4c74779
Add columns for careplus namespace, username and password to team model
jf-x-dev Apr 9, 2026
505c049
Make `to_date` stricter; reject years with fewer than 4 digits
alistair-white-horne-tng Apr 15, 2026
bbdb68b
Add `ImmsImport` validation error for too-old patients
alistair-white-horne-tng Apr 15, 2026
54660d3
Suppress warning for `immunization.target` mismatch
alistair-white-horne-tng Apr 16, 2026
48c35b5
Refactor consent contact options
thomasleese Apr 7, 2026
e3f6f48
Add `can_self_consent_after_gillick_assessment?`
thomasleese Apr 7, 2026
c7468c6
Only consider today's Gillick assessments as valid
thomasleese Apr 14, 2026
86f266c
Use smaller font size for filter card heading
paulrobertlloyd Apr 14, 2026
68bcfec
Use small heading size for search result cards
paulrobertlloyd Apr 14, 2026
86e2f0f
Use ‘to’ for formatting session date range
paulrobertlloyd Apr 14, 2026
be110e8
Move dates in session banner from title to caption
paulrobertlloyd Apr 14, 2026
6ceb94c
Add missing ‘Record vaccinations’ heading
paulrobertlloyd Apr 14, 2026
5fd283f
Use action link component for ‘Add a new session’ link
paulrobertlloyd Apr 14, 2026
812b511
Use action link component for ‘Import class lists’ and rearrange clin…
paulrobertlloyd Apr 14, 2026
972b9a7
Use action link component for ‘Create new record’ link
paulrobertlloyd Apr 14, 2026
6e24b6b
Rename `import_search_pds` feature flag
thomasleese Apr 14, 2026
4b9720f
Use action links and card action links on session overview page
paulrobertlloyd Apr 14, 2026
5d82e02
Amend AppPatientVaccinationTableComponent to show/hide extra details
murugapl Mar 20, 2026
c8f59bf
Add `pds_enqueue_bulk_updates` feature flag
thomasleese Apr 14, 2026
fcb5ca0
Remove table override style
paulrobertlloyd Apr 14, 2026
891a5a8
Add AppPatientSessionProgrammeComponent
murugapl Mar 20, 2026
98b559a
Add `pds` main switch feature flag
thomasleese Apr 14, 2026
50c7b7c
Merge pull request #6614 from NHSDigital/alistair/imms-api-suppress-b…
alistair-white-horne-tng Apr 16, 2026
fe8f3da
Merge pull request #6606 from NHSDigital/alistair/imports-date-valida…
alistair-white-horne-tng Apr 16, 2026
ecb6dab
Merge pull request #6576 from NHSDigital/gillick-assessment-valid-on-day
thomasleese Apr 16, 2026
8159718
Merge pull request #6574 from NHSDigital/design-review-april
thomasleese Apr 16, 2026
593d4a5
Merge pull request #6564 from NHSDigital/fix-session-layout
thomasleese Apr 16, 2026
b319dd6
Show triage decision in programme card details text
murugapl Apr 16, 2026
cfcfa5f
Simplify batching query in PatientStatusUpdater
floehopper Apr 14, 2026
e33c5eb
Merge pull request #6573 from NHSDigital/refactor-pds-feature-flags
thomasleese Apr 16, 2026
22775e8
Merge pull request #6583 from NHSDigital/add-programme-status-card
murugapl Apr 16, 2026
6679a83
Pin all GitHub Actions to commit SHAs for security
thomasleese Apr 14, 2026
6899555
Merge pull request #6593 from NHSDigital/simplify-batching-query-in-p…
floehopper Apr 16, 2026
c3b2bee
Use one template for all school consent reminders and subsequent remi…
jhenderson Apr 8, 2026
90a5525
Merge pull request #6568 from NHSDigital/pin-github-actions
thomasleese Apr 16, 2026
f1adcd5
Merge pull request #6529 from NHSDigital/unify-school-consent-reminde…
benilovj Apr 16, 2026
901429c
Bump falcon from 0.55.2 to 0.55.3
dependabot[bot] Apr 16, 2026
07a1956
Bump parallel_tests from 5.6.0 to 5.7.0
dependabot[bot] Apr 16, 2026
22e287c
Merge pull request #6621 from NHSDigital/dependabot/bundler/next/falc…
thomasleese Apr 17, 2026
e60cb26
Bump aws-actions/configure-aws-credentials
dependabot[bot] Apr 16, 2026
cde679c
Merge pull request #6623 from NHSDigital/dependabot/bundler/next/para…
thomasleese Apr 17, 2026
268cb90
Bump astral-sh/setup-uv
dependabot[bot] Apr 16, 2026
c5706d4
Merge pull request #6620 from NHSDigital/dependabot/github_actions/ne…
thomasleese Apr 17, 2026
47c46ab
Add python
misaka Apr 5, 2026
3b425c8
Merge pull request #6622 from NHSDigital/dependabot/github_actions/ne…
thomasleese Apr 17, 2026
f3d337d
Add bin/mavis-server and shell sub-command
misaka Apr 5, 2026
05cc573
Add CLI tool which sends a given CSV to careplus service
jf-x-dev Apr 17, 2026
b287f48
Merge pull request #6541 from NHSDigital/add-careplus-url-credentials
jf-x-dev Apr 17, 2026
f8b86f8
Add mavis-server put-file subcommand
misaka Apr 5, 2026
6465637
Merge pull request #6542 from NHSDigital/add-send-to-careplus-cli-tool
jf-x-dev Apr 17, 2026
26e235d
Add mavis-server get-file subcommand
misaka Apr 5, 2026
83ea7bf
Prevent ^C from exiting mavis-server shell
misaka Apr 15, 2026
556602d
Remove script/shell.sh and script/copy-file.sh
misaka Apr 15, 2026
75393f8
Fix default service for data replication
misaka Apr 16, 2026
f78e05d
Improve error reporting
misaka Apr 16, 2026
c66b757
Implement logic needs consent status request scheduled/not scheduled
jhenderson Mar 27, 2026
df416d7
Merge pull request #6575 from NHSDigital/add-mavis-server
misaka Apr 17, 2026
15be0ce
Use redis db 2 in end_to_end env
misaka Apr 16, 2026
3c5cf55
Stop yelling variable names in bin/e2e
misaka Apr 17, 2026
20b3a70
Add BASE_URL to exported env vars
misaka Apr 17, 2026
4858bb3
Merge pull request #6625 from NHSDigital/needs-consent-sub-statuses-s…
jhenderson Apr 17, 2026
937425b
Sort `Vaccine`s alphabetically in upload help test
alistair-white-horne-tng Apr 16, 2026
82bb143
Merge pull request #6618 from NHSDigital/end-to-end-redis-db
misaka Apr 17, 2026
80ac872
Merge pull request #6615 from NHSDigital/alistair/imports-sort-vaccines
alistair-white-horne-tng Apr 17, 2026
141fd14
Bump prettier from 3.8.1 to 3.8.2
dependabot[bot] Apr 17, 2026
8e28a42
Bump yard from 0.9.38 to 0.9.42 in the bundler group across 1 directory
dependabot[bot] Apr 17, 2026
379effb
Merge pull request #6632 from NHSDigital/dependabot/npm_and_yarn/next…
thomasleese Apr 20, 2026
44614ad
Move load_data specs into shared spec
misaka Mar 26, 2026
534ea96
Rotate GOV.UK Notify API key
thomasleese Apr 16, 2026
b94babe
Merge pull request #6633 from NHSDigital/dependabot/bundler/bundler-f…
thomasleese Apr 20, 2026
a5caac6
Remove ISO-8859-1 test from cohort_import_spec
misaka Apr 9, 2026
0d2615d
Add Import::CSVData, refactor load_data! out
misaka Mar 26, 2026
0b99660
Make csv= specs actually test something
misaka Apr 10, 2026
9334518
Refactor rspec subjects to be import objects
misaka Mar 26, 2026
5b2c54d
Remove parse_rows! call from process!
misaka Mar 26, 2026
2de60b1
Merge pull request #6609 from NHSDigital/notify-api-key
thomasleese Apr 20, 2026
19092b2
Remove CSVImportable#process!
misaka Mar 27, 2026
9e018c3
Merge pull request #6570 from NHSDigital/refactor-import-specs
misaka Apr 20, 2026
97341ed
Enable option to dismiss important notices for archived patients
CodeCorvin Jan 29, 2026
d00262f
Merge branch 'next' into enable_dismiss_important_notices_for_archive…
CodeCorvin Apr 20, 2026
59c2074
Merge branch 'next' into enable_dismiss_important_notices_for_archive…
CodeCorvin Apr 20, 2026
adbe6d5
Merge pull request #6629 from NHSDigital/refactor-import-process
misaka Apr 20, 2026
b7b85d5
Ensure Gillick assessment is only shown on day
thomasleese Apr 20, 2026
393b993
Merge pull request #6402 from NHSDigital/enable_dismiss_important_not…
CodeCorvin Apr 20, 2026
2b5c3c0
Merge pull request #6639 from NHSDigital/gillick-assessment-hide-not-…
thomasleese Apr 20, 2026
01c670a
Rename CareplusExport to CareplusReport
jf-x-dev Apr 19, 2026
fbb4174
Fix missing details text for patients with keep-in-triage status
murugapl Apr 20, 2026
11952f1
Merge pull request #6644 from NHSDigital/fix-programme-status-card-hi…
murugapl Apr 20, 2026
5f040e1
Support synchronous refresh in the testing refresh-reporting endpoint
benilovj Apr 20, 2026
12b119e
Bump rails_semantic_logger from 4.19.0 to 4.20.0
dependabot[bot] Apr 20, 2026
92e52cc
Merge pull request #6650 from NHSDigital/dependabot/bundler/next/rail…
thomasleese Apr 21, 2026
38b34df
Merge pull request #6649 from NHSDigital/refresh-reporting-wait-param
benilovj Apr 21, 2026
434a315
Move already had notification sending to after commit
stevehook Apr 9, 2026
81463cb
Add careplus_enabled, has_careplus_credentials, eligible_for_automate…
jf-x-dev Apr 21, 2026
07bad44
Merge pull request #6540 from NHSDigital/missing-already-had-emails
stevehook Apr 21, 2026
671e705
Merge pull request #6651 from NHSDigital/add-careplus-team-scopes
jf-x-dev Apr 21, 2026
1c2f988
Use action link component for ‘Add a new session’ link
paulrobertlloyd Apr 21, 2026
701fff9
Add `nr_cut_off_date` and `type` to `bin/mavis teams list`
alistair-white-horne-tng Apr 21, 2026
dbbc008
Merge pull request #6653 from NHSDigital/add-new-session-link-style
thomasleese Apr 21, 2026
ef53e1e
Merge pull request #6654 from NHSDigital/alistair/teams-list-add-cut-…
alistair-white-horne-tng Apr 21, 2026
4605aaa
Show triage summary only when programme status reflects a triage deci…
murugapl Apr 21, 2026
d1042b1
Merge pull request #6652 from NHSDigital/fix-details-text-programme-card
murugapl Apr 21, 2026
05ca8e6
Enable ops tools
samcoy3 Apr 21, 2026
43a00eb
Enable ops tools
samcoy3 Apr 21, 2026
dc6da91
Remove redundant methods in PatientStatusUpdater
floehopper Apr 16, 2026
b4a19b7
Simplify another query in PatientStatusUpdater
floehopper Apr 20, 2026
7067786
No need to set imms_api_sync_job in spec
floehopper Apr 21, 2026
70d2da2
Ensure ImmunisationImport calls Patient Updaters
floehopper Apr 21, 2026
5ab5fdc
Move post-commit operations -> ImmunisationImport#post_commit!
floehopper Apr 21, 2026
50b02d6
Move calls to Patient Updaters outside transaction
floehopper Apr 20, 2026
fd7c15e
Add "on delete, cascade" to some `Patient` foreign keys
alistair-white-horne-tng Apr 20, 2026
9f0eb01
Merge pull request #6647 from NHSDigital/patient-status-updater-impro…
floehopper Apr 21, 2026
90a236b
Update patient status after sending consent requests
jhenderson Apr 21, 2026
0f43de1
Fix: reporting app was showing inconsistent child counts in the conse…
jhenderson Apr 21, 2026
5977f03
Merge pull request #6661 from NHSDigital/fix-patient-programme-status…
jhenderson Apr 21, 2026
1036fb6
Merge pull request #6660 from NHSDigital/fix-consent-dashboard-status…
thomasleese Apr 21, 2026
55c57be
Bump faker from 3.6.1 to 3.7.1
dependabot[bot] Apr 21, 2026
07c965a
Merge pull request #6662 from NHSDigital/dependabot/bundler/next/fake…
thomasleese Apr 22, 2026
3a313af
Bump capybara_accessible_selectors from `e204122` to `d518ee5`
dependabot[bot] Apr 22, 2026
d97bc28
Merge pull request #6663 from NHSDigital/dependabot/bundler/next/capy…
thomasleese Apr 22, 2026
cf369b7
Update to ruby 4.0.3
misaka Apr 21, 2026
5e877ea
Update to latest ruby/setup-ruby workflow step
misaka Apr 21, 2026
5bc29b4
Merge pull request #6657 from NHSDigital/ruby-4.0.3
thomasleese Apr 22, 2026
25ad0b5
Merge pull request #6638 from NHSDigital/alistair/patient-cascade-on-…
alistair-white-horne-tng Apr 22, 2026
0a95de7
Remove unused Cuprite-related code
floehopper Apr 22, 2026
cc2d863
Fix reporting API consent no-response totals
jhenderson Apr 22, 2026
af83788
Merge pull request #6670 from NHSDigital/fix-consent-dashboard-status…
jhenderson Apr 22, 2026
4e2b306
Merge pull request #6669 from NHSDigital/remove-capybara-javascript-d…
floehopper Apr 22, 2026
5061280
Update MAVIS-test end-to-end-tests workflow input variables
zoltan-antal Apr 20, 2026
91c7252
Enable reporting tests for AWS PR E2E workflow
zoltan-antal Apr 20, 2026
fb8688a
Merge pull request #6630 from NHSDigital/reporting-tests-on-pr
TheOneFromNorway Apr 22, 2026
524127e
Bump aws-actions/amazon-ecr-login from 2.1.2 to 2.1.3
dependabot[bot] Apr 22, 2026
7783da9
Bump prettier from 3.8.2 to 3.8.3
dependabot[bot] Apr 22, 2026
f4fde79
Merge pull request #6675 from NHSDigital/dependabot/github_actions/ne…
thomasleese Apr 23, 2026
0d81782
Merge pull request #6676 from NHSDigital/dependabot/npm_and_yarn/next…
thomasleese Apr 23, 2026
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
16 changes: 8 additions & 8 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
steps.check-prod-image.outputs.ops-build-needed }}
steps:
- name: Configure AWS Dev Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: arn:aws:iam::393416225559:role/GithubDeployECSService
aws-region: eu-west-2
Expand All @@ -57,7 +57,7 @@ jobs:
fi
- name: Configure AWS Production credentials
if: env.PUSH_IMAGE_TO_PRODUCTION == 'true'
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: arn:aws:iam::820242920762:role/GithubDeployECSService
aws-region: eu-west-2
Expand Down Expand Up @@ -102,25 +102,25 @@ jobs:
aws-role: ${{ fromJSON(needs.define-matrix.outputs.aws-roles) }}
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ env.git_ref }}
- name: Write build SHA
run: git rev-parse HEAD > public/sha
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: ${{ matrix.aws-role }}
aws-region: eu-west-2
- name: Login to ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
uses: aws-actions/amazon-ecr-login@376925c9d111252e87ae59691e5a442dd100ef6a # v2.1.3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
# yamllint disable rule:line-length
- name: Build and push webapp image
if: needs.check-image-presence.outputs.webapp-build-needed == 'true'
uses: docker/build-push-action@v7
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: .
push: true
Expand All @@ -132,7 +132,7 @@ jobs:
}}/mavis/webapp:buildcache,mode=max,image-manifest=true,oci-mediatypes=true
- name: Build and push ops image
if: needs.check-image-presence.outputs.ops-build-needed == 'true'
uses: docker/build-push-action@v7
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: .
file: ops.Dockerfile
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/call-end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: Call end-to-end tests
on:
workflow_call:
inputs:
cross_service_tests:
fhir_api_tests:
required: true
type: boolean
reporting_tests:
required: true
type: boolean
endpoint:
Expand Down Expand Up @@ -31,7 +34,8 @@ jobs:
# yamllint disable-line rule:line-length
uses: NHSDigital/manage-vaccinations-in-schools-testing/.github/workflows/end-to-end-tests.yaml@main
with:
cross_service_tests: ${{ inputs.cross_service_tests }}
fhir_api_tests: ${{ inputs.fhir_api_tests }}
reporting_tests: ${{ inputs.reporting_tests }}
github_ref: ${{ inputs.github_ref }}
endpoint: ${{ inputs.endpoint }}
secrets:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
uses: ./.github/workflows/call-end-to-end-tests.yml
secrets: inherit
with:
cross_service_tests: true
fhir_api_tests: true
reporting_tests: true
endpoint: https://qa.mavistesting.com
github_ref: main
slack-notification:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/create_dockerized_db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
RAILS_MASTER_KEY: intentionally-insecure-dev-key00
SKIP_TEST_DATABASE: true
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ inputs.github_ref || github.ref_name == 'next' && 'next' || github.ref_name }}
repository: nhsuk/manage-vaccinations-in-schools
- uses: actions/setup-node@v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: .tool-versions
cache: yarn
Expand All @@ -56,7 +56,7 @@ jobs:
sleep 2
done
'
- uses: ruby/setup-ruby@v1
- uses: ruby/setup-ruby@60ecfba8750476ff216b59eee3b88218bb5111cc # v1.303.0
with:
bundler-cache: true
- name: Populate database for testing
Expand All @@ -65,13 +65,13 @@ jobs:
bin/rails feature_flags:enable_for_development
bin/mavis gias import --input-file=spec/fixtures/dfe-schools.zip
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: arn:aws:iam::393416225559:role/GitHubAssuranceTestRole
aws-region: eu-west-2
- name: Login to ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
uses: aws-actions/amazon-ecr-login@376925c9d111252e87ae59691e5a442dd100ef6a # v2.1.3
# yamllint disable rule:line-length
- name: get github ref short
id: github-ref
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/data-replication-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
git-sha: ${{ steps.get-git-sha.outputs.git-sha }}
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ env.git_ref_to_deploy }}
- name: Get git sha
Expand All @@ -93,11 +93,11 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ env.git_ref_to_deploy }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: ${{ env.aws_role }}
aws-region: eu-west-2
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
} >> "$GITHUB_OUTPUT"
- name: Populate web task definition
id: create-task-definition
uses: aws-actions/amazon-ecs-render-task-definition@v1
uses: aws-actions/amazon-ecs-render-task-definition@77954e213ba1f9f9cb016b86a1d4f6fcdea0d57e # v1.8.4
with:
task-definition-family:
mavis-data-replication-task-definition-${{ inputs.environment }}-template
Expand All @@ -140,7 +140,7 @@ jobs:
mv ${{ steps.create-task-definition.outputs.task-definition }} ${{ runner.temp
}}/data-replication-task-definition.json
- name: Upload artifact for data-replication task definition
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ inputs.environment }}-data-replication-task-definition
path: ${{ runner.temp }}/data-replication-task-definition.json
Expand Down Expand Up @@ -189,12 +189,12 @@ jobs:
id-token: write
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: ${{ env.aws_role }}
aws-region: eu-west-2
- name: Download data-replication task definition artifact
uses: actions/download-artifact@v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: ${{ runner.temp }}
name: ${{ inputs.environment }}-data-replication-task-definition
Expand All @@ -205,7 +205,7 @@ jobs:
jq --arg f "$family_name" '.family = $f' "$file_path" > tmpfile && mv tmpfile "$file_path"
- name: Deploy data-replication service
id: ecs-deploy
uses: aws-actions/amazon-ecs-deploy-task-definition@v2
uses: aws-actions/amazon-ecs-deploy-task-definition@fc8fc60f3a60ffd500fcb13b209c59d221ac8c8c # v2.6.1
with:
task-definition: ${{ runner.temp }}/data-replication-task-definition.json
cluster: mavis-${{ inputs.environment }}-data-replication
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@60ecfba8750476ff216b59eee3b88218bb5111cc # v1.303.0
with:
bundler-cache: true

- name: Generate Documentation
run: bundle exec rake rdoc:generate

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
branch: gh-pages
folder: docs/rdoc
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
fi
fi
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ inputs.git_ref_to_deploy || github.sha }}
- name: Get git sha
Expand Down Expand Up @@ -109,12 +109,12 @@ jobs:
repository_name: ${{ matrix.service == 'ops' && 'mavis/ops' || 'mavis/webapp' }}
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
id: checkout-code
with:
ref: ${{ needs.validate-and-resolve-sha.outputs.git-sha }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: arn:aws:iam::${{ env.aws_account_id }}:role/GithubDeployECSService
aws-region: eu-west-2
Expand All @@ -131,7 +131,7 @@ jobs:
echo "digest=$digest" >> "$GITHUB_OUTPUT"
- name: Populate task definition
id: create-task-definition
uses: aws-actions/amazon-ecs-render-task-definition@v1
uses: aws-actions/amazon-ecs-render-task-definition@77954e213ba1f9f9cb016b86a1d4f6fcdea0d57e # v1.8.4
with:
task-definition-family:
mavis-${{ matrix.service }}-task-definition-${{ inputs.environment }}-template
Expand All @@ -147,7 +147,7 @@ jobs:
mv ${{ steps.create-task-definition.outputs.task-definition }} ${{ runner.temp }}/${{
matrix.service }}-task-definition.json
- name: Upload artifact for ${{ matrix.service }} task definition
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ inputs.environment }}-${{ matrix.service }}-task-definition
path: ${{ runner.temp }}/${{ matrix.service }}-task-definition.json
Expand Down Expand Up @@ -196,14 +196,14 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: arn:aws:iam::${{ env.aws_account_id }}:role/GithubDeployECSService
aws-region: eu-west-2
- name: Download ops task definition artifact
uses: actions/download-artifact@v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: ${{ runner.temp }}
name: ${{ inputs.environment }}-ops-task-definition
Expand Down Expand Up @@ -332,12 +332,12 @@ jobs:
fromJSON(format('["{0}"]', inputs.server_types)) }}
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: arn:aws:iam::${{ env.aws_account_id }}:role/GithubDeployECSService
aws-region: eu-west-2
- name: Download ${{ matrix.service }} task definition artifact
uses: actions/download-artifact@v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: ${{ runner.temp }}
name: ${{ inputs.environment }}-${{ matrix.service }}-task-definition
Expand All @@ -348,7 +348,7 @@ jobs:
jq --arg f "$family_name" '.family = $f' "$file_path" > tmpfile && mv tmpfile "$file_path"
- name: Deploy ${{ matrix.service }} service
id: ecs-deploy
uses: aws-actions/amazon-ecs-deploy-task-definition@v2
uses: aws-actions/amazon-ecs-deploy-task-definition@fc8fc60f3a60ffd500fcb13b209c59d221ac8c8c # v2.6.1
with:
task-definition: ${{ runner.temp }}/${{ matrix.service }}-task-definition.json
cluster: ${{ env.cluster_name }}
Expand Down Expand Up @@ -376,14 +376,14 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: arn:aws:iam::${{ env.aws_account_id }}:role/GithubDeployECSService
aws-region: eu-west-2
- name: Download ops task definition artifact
uses: actions/download-artifact@v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: ${{ runner.temp }}
name: ${{ inputs.environment }}-ops-task-definition
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Generate release notes
Expand Down
Loading
Loading