diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dad2aefdb3..d097e236fca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: vendor/bundle key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 767f3c5e523..3bc6f6b9fe1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,7 @@ jobs: with: ruby-version: ${{ env.ruby-version }} - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: vendor/bundle key: gems-${{ runner.os }}-${{ env.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} diff --git a/.github/workflows/dev_deploy.yml b/.github/workflows/dev_deploy.yml index 198640a174b..24252aba1c3 100644 --- a/.github/workflows/dev_deploy.yml +++ b/.github/workflows/dev_deploy.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest env: - ruby-version: 2.5 + ruby-version: 3.2 steps: - uses: actions/checkout@v2 @@ -35,7 +35,7 @@ jobs: with: ruby-version: ${{ env.ruby-version }} - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: vendor/bundle key: gems-${{ runner.os }}-${{ env.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} diff --git a/data/checkins.json b/data/checkins.json index de2af229a54..ca38189a48d 100644 --- a/data/checkins.json +++ b/data/checkins.json @@ -42,6 +42,13 @@ "required": false, "parameter": true }, + "ticket_slug": { + "description": "The `slug` of the ticket that was checked-in.", + "type": "string", + "read_only": false, + "required": false, + "parameter": true + }, "deleted_at": { "description": "The date the checkin was deleted.", "type": "datetime", diff --git a/source/includes/checkin_api/_checkins.md.erb b/source/includes/checkin_api/_checkins.md.erb index 52a374b148b..7909ca21026 100644 --- a/source/includes/checkin_api/_checkins.md.erb +++ b/source/includes/checkin_api/_checkins.md.erb @@ -47,7 +47,7 @@ Create a new `Checkin` belonging to the given `CheckinList`. ### Parameters -You must pass in one of either `ticket_id` or `ticket_reference`. +You must pass in one of either `ticket_id`, `ticket_reference` or `ticket_slug`. <%= partial "includes/shared/parameters", locals: { parameters: data.checkins.attributes.select { |name,attribute| attribute["parameter"] } } %>