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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

runs-on: ubuntu-latest
env:
ruby-version: 2.5
ruby-version: 3.2

steps:
- uses: actions/checkout@v2
Expand All @@ -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') }}
Expand Down
7 changes: 7 additions & 0 deletions data/checkins.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion source/includes/checkin_api/_checkins.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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"] } } %>

Expand Down