Skip to content

Commit 59a1885

Browse files
authored
Merge branch 'master' into issue/3475-remove-ARE
2 parents d099e57 + 5917719 commit 59a1885

File tree

3 files changed

+39
-25
lines changed

3 files changed

+39
-25
lines changed

.github/workflows/github_actions.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,41 @@ name: 'BrowserStack Test'
33
on:
44
pull_request_target:
55
branches: [ master ]
6-
types: [ labeled ]
6+
types: [ labeled, opened, synchronize ]
77

88
jobs:
99
ubuntu-job:
1010
name: 'BrowserStack Test on Ubuntu'
1111
runs-on: ubuntu-latest
12-
if: github.event.label.name == 'safe_to_test'
12+
concurrency:
13+
group: browserstack-${{ github.event.pull_request.number }}
14+
cancel-in-progress: true
15+
if: |
16+
github.event.label.name == 'safe_to_test' ||
17+
github.event.pull_request.user.login == 'dependabot[bot]'
1318
env:
1419
GITACTIONS: true
1520
steps:
1621

1722
- name: 'Remove safe_to_test label'
23+
if: github.event.label.name == 'safe_to_test'
1824
uses: actions/github-script@v8
1925
with:
2026
script: |
21-
await github.rest.issues.removeLabel({
22-
owner: context.repo.owner,
23-
repo: context.repo.repo,
24-
issue_number: context.payload.pull_request.number,
25-
name: 'safe_to_test'
26-
});
27+
try {
28+
await github.rest.issues.removeLabel({
29+
owner: context.repo.owner,
30+
repo: context.repo.repo,
31+
issue_number: context.payload.pull_request.number,
32+
name: 'safe_to_test'
33+
});
34+
} catch (e) {
35+
if (e.status === 404) {
36+
console.log('Label already removed, skipping');
37+
} else {
38+
throw e;
39+
}
40+
}
2741
2842
- name: 'BrowserStack Env Setup' # Invokes the setup-env action
2943
uses: browserstack/github-actions/setup-env@master

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ gem 'rake', '~> 13.3'
2424
gem 'activerecord', '~> 8.1'
2525
gem 'otr-activerecord', '~> 2.6.0'
2626
gem 'sqlite3', '~> 2.9'
27-
gem 'rubocop', '~> 1.85.0', require: false
27+
gem 'rubocop', '~> 1.85.1', require: false
2828

2929
# Geolocation support
3030
group :geoip do

Gemfile.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ GEM
2020
securerandom (>= 0.3)
2121
tzinfo (~> 2.0, >= 2.0.5)
2222
uri (>= 0.13.1)
23-
addressable (2.8.7)
24-
public_suffix (>= 2.0.2, < 7.0)
23+
addressable (2.8.9)
24+
public_suffix (>= 2.0.2, < 8.0)
2525
ansi (1.5.0)
2626
archive-zip (0.13.1)
2727
io-like (~> 0.4.0)
@@ -91,15 +91,15 @@ GEM
9191
rdoc (>= 4.0.0)
9292
reline (>= 0.4.2)
9393
json (2.18.1)
94-
json-schema (6.1.0)
94+
json-schema (6.2.0)
9595
addressable (~> 2.8)
9696
bigdecimal (>= 3.1, < 5)
9797
language_server-protocol (3.17.0.5)
9898
lint_roller (1.1.0)
9999
logger (1.7.0)
100100
matrix (0.4.3)
101101
maxmind-db (1.4.0)
102-
mcp (0.7.1)
102+
mcp (0.8.0)
103103
json-schema (>= 4.1)
104104
method_source (1.1.0)
105105
mime-types (3.7.0)
@@ -159,7 +159,7 @@ GEM
159159
psych (5.3.1)
160160
date
161161
stringio
162-
public_suffix (6.0.2)
162+
public_suffix (7.0.5)
163163
qr4r (0.6.2)
164164
mojo_magick (~> 0.6.5)
165165
rqrcode_core (~> 1.0)
@@ -204,7 +204,7 @@ GEM
204204
diff-lcs (>= 1.2.0, < 2.0)
205205
rspec-support (~> 3.13.0)
206206
rspec-support (3.13.6)
207-
rubocop (1.85.0)
207+
rubocop (1.85.1)
208208
json (~> 2.3)
209209
language_server-protocol (~> 3.17.0.2)
210210
lint_roller (~> 1.1.0)
@@ -216,7 +216,7 @@ GEM
216216
rubocop-ast (>= 1.49.0, < 2.0)
217217
ruby-progressbar (~> 1.7)
218218
unicode-display_width (>= 2.4.0, < 4.0)
219-
rubocop-ast (1.49.0)
219+
rubocop-ast (1.49.1)
220220
parser (>= 3.3.7.2)
221221
prism (~> 1.7)
222222
ruby-progressbar (1.13.0)
@@ -246,14 +246,14 @@ GEM
246246
rack-session (>= 2.0.0, < 3)
247247
tilt (~> 2.0)
248248
slack-notifier (2.4.0)
249-
sqlite3 (2.9.0-aarch64-linux-gnu)
250-
sqlite3 (2.9.0-aarch64-linux-musl)
251-
sqlite3 (2.9.0-arm-linux-gnu)
252-
sqlite3 (2.9.0-arm-linux-musl)
253-
sqlite3 (2.9.0-arm64-darwin)
254-
sqlite3 (2.9.0-x86_64-darwin)
255-
sqlite3 (2.9.0-x86_64-linux-gnu)
256-
sqlite3 (2.9.0-x86_64-linux-musl)
249+
sqlite3 (2.9.1-aarch64-linux-gnu)
250+
sqlite3 (2.9.1-aarch64-linux-musl)
251+
sqlite3 (2.9.1-arm-linux-gnu)
252+
sqlite3 (2.9.1-arm-linux-musl)
253+
sqlite3 (2.9.1-arm64-darwin)
254+
sqlite3 (2.9.1-x86_64-darwin)
255+
sqlite3 (2.9.1-x86_64-linux-gnu)
256+
sqlite3 (2.9.1-x86_64-linux-musl)
257257
stringio (3.2.0)
258258
sync (0.5.0)
259259
term-ansicolor (1.11.3)
@@ -345,7 +345,7 @@ DEPENDENCIES
345345
rdoc (~> 7.2)
346346
rest-client (~> 2.1.0)
347347
rspec (~> 3.13)
348-
rubocop (~> 1.85.0)
348+
rubocop (~> 1.85.1)
349349
rubyzip (~> 3.2)
350350
rushover (~> 0.3.0)
351351
selenium-webdriver (~> 4.41)

0 commit comments

Comments
 (0)