Skip to content

Commit fa3d455

Browse files
authored
Merge pull request #4904 from hbrunn/18.0-pin-external-actions
[18.0][IMP] pin random github actions to their SHA commit
2 parents b5e9663 + 56254f9 commit fa3d455

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/documentation-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
# try to build the documentation
6161
sh ./build_openupgrade_docs
6262
- name: Commit changes
63-
uses: EndBug/add-and-commit@v9
63+
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 #v9
6464
with:
6565
add: "docs"
6666
default_author: github_actions

.github/workflows/test.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,22 @@ jobs:
2525
PGPASSWORD: "odoo"
2626
PGUSER: "odoo"
2727
OPENUPGRADE_USE_DEMO: "yes"
28+
services:
29+
postgres:
30+
image: postgres:14.0
31+
env:
32+
POSTGRES_USER: odoo
33+
POSTGRES_PASSWORD: odoo
34+
POSTGRES_DB: odoo
35+
ports:
36+
- 5432:5432
2837
steps:
2938
- name: Set up Python
3039
uses: actions/setup-python@v5
3140
with:
3241
python-version: '3.10'
33-
- name: Configure Postgres
34-
uses: harmon758/postgresql-action@v1
35-
with:
36-
postgresql version: "14"
37-
postgresql user: ${DB_USERNAME}
38-
postgresql password: ${DB_PASSWORD}
39-
- name: Wait / Sleep
40-
uses: jakejarvis/[email protected]
41-
with:
42-
time: "10s"
42+
- name: Sleep for 10 seconds
43+
run: sleep 10s
4344
- name: DB Creation
4445
run: createdb $DB
4546
- name: DB Restore

0 commit comments

Comments
 (0)