Skip to content

11 files changed

+24
-22
lines changed

.github/workflows/add-untriaged.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
apply-label:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v6
11+
- uses: actions/github-script@v7
1212
with:
1313
script: |
1414
github.rest.issues.addLabels({

.github/workflows/backport.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ jobs:
1515
steps:
1616
- name: GitHub App token
1717
id: github_app_token
18-
uses: tibdex/github-app-token@v1.5.0
18+
uses: tibdex/github-app-token@v2.1.0
1919
with:
2020
app_id: ${{ secrets.APP_ID }}
2121
private_key: ${{ secrets.APP_PRIVATE_KEY }}
22-
installation_id: 22958780
22+
installation_retrieval_mode: id
23+
installation_retrieval_payload: 22958780
2324

2425
- name: Backport
25-
uses: VachaShah/backport@v1.1.4
26+
uses: VachaShah/backport@v2.2.0
2627
with:
2728
github_token: ${{ steps.github_app_token.outputs.token }}
2829
branch_name: backport/backport-${{ github.event.number }}

.github/workflows/change_log.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
verify-changelog:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
with:
1313
token: ${{ secrets.GITHUB_TOKEN }}
1414
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/compatibility.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cluster-version: [ "1.0.0", "1.0.1", "1.1.0", "1.2.0", "1.2.1", "1.2.2", "1.2.3", "1.2.4", "1.3.0", "1.3.1", "2.0.0" ]
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2626
- name: Increase system limits
2727
run: |
2828
sudo swapoff -a
@@ -55,7 +55,7 @@ jobs:
5555
cluster-version: [ "1.0.0", "1.0.1", "1.1.0", "1.2.0", "1.2.1", "1.2.2", "1.2.3", "1.2.4", "1.3.0", "1.3.1", "1.3.2", "1.3.3", "2.0.0", "2.0.1" ]
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v4
5959
- name: Increase system limits
6060
run: |
6161
sudo swapoff -a

.github/workflows/license.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
build:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v4
88
- uses: ruby/setup-ruby@v1
99
with:
1010
ruby-version: 3

.github/workflows/links.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: lychee Link Checker
1818
id: lychee
19-
uses: lycheeverse/[email protected].0
19+
uses: lycheeverse/[email protected].3
2020
with:
2121
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "https://github.com/\[your*" --exclude "https://localhost:9200" --exclude "http://localhost:9200" --exclude "git://github.com/opensearch-project/*" --exclude "file:///github/workspace/*" --exclude ".*api.server.org:4430/search" --exclude ".*example.com:9200" --exclude ".*myhost:8080" --exclude ".*localhost:9200/" --exclude-mail
2222
env:

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v4
1010
- name: Set up Ruby
1111
uses: ruby/setup-ruby@v1
1212
with:

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ]
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- name: Increase system limits
2626
run: |
2727
sudo swapoff -a
@@ -55,7 +55,7 @@ jobs:
5555
ruby: [ 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ]
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v4
5959
- name: Increase system limits
6060
run: |
6161
sudo swapoff -a
@@ -88,7 +88,7 @@ jobs:
8888
ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ]
8989
runs-on: ubuntu-latest
9090
steps:
91-
- uses: actions/checkout@v2
91+
- uses: actions/checkout@v4
9292
- name: Increase system limits
9393
run: |
9494
sudo swapoff -a

.github/workflows/release_drafter.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
issues: write
1515
steps:
1616
- name: Checkout Repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- id: get_approvers
1919
run: |
2020
echo "approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')" >> $GITHUB_OUTPUT
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
ruby-version: 3.1
3333
- name: Configure AWS credentials
34-
uses: aws-actions/configure-aws-credentials@v1
34+
uses: aws-actions/configure-aws-credentials@v4
3535
with:
3636
role-to-assume: ${{ secrets.GET_SECRET_IAM_ROLE }}
3737
aws-region: us-east-1
@@ -44,7 +44,7 @@ jobs:
4444
mkdir dist && mv opensearch-ruby-*.gem dist/
4545
tar -cvf artifacts.tar.gz dist
4646
- name: Draft a release
47-
uses: softprops/action-gh-release@v1
47+
uses: softprops/action-gh-release@v2
4848
with:
4949
draft: true
5050
generate_release_notes: true

.github/workflows/test-unreleased.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
ruby-version: ${{ matrix.entry.ruby_version }}
3131
- name: Checkout OpenSearch
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
with:
3434
repository: opensearch-project/OpenSearch
3535
ref: ${{ matrix.entry.opensearch_ref }}
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Restore cached build
4444
id: cache-restore
45-
uses: actions/cache/restore@v3
45+
uses: actions/cache/restore@v4
4646
with:
4747
path: opensearch/distribution/archives/linux-tar/build/distributions
4848
key: ${{ steps.get-key.outputs.key }}
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Save cached build
5656
if: steps.cache-restore.outputs.cache-hit != 'true'
57-
uses: actions/cache/save@v3
57+
uses: actions/cache/save@v4
5858
with:
5959
path: opensearch/distribution/archives/linux-tar/build/distributions
6060
key: ${{ steps.get-key.outputs.key }}
@@ -79,7 +79,7 @@ jobs:
7979
exit 1
8080
8181
- name: Checkout Ruby Client
82-
uses: actions/checkout@v3
82+
uses: actions/checkout@v4
8383
with:
8484
path: ruby-client
8585

@@ -97,7 +97,7 @@ jobs:
9797

9898
- name: Save server logs
9999
if: failure()
100-
uses: actions/upload-artifact@v3
100+
uses: actions/upload-artifact@v4
101101
with:
102102
name: opensearch-logs-${{ matrix.entry.opensearch_ref }}-ruby-${{ matrix.entry.ruby_version }}
103103
path: |

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
## [Unreleased]
55
### Added
66
### Changed
7+
- Bump GitHub Actions ([#248](https://github.com/opensearch-project/opensearch-ruby/pull/248))
78
### Deprecated
89
### Removed
910
### Fixed

0 commit comments

Comments
 (0)