Skip to content

Commit 1ea62e3

Browse files
authored
Merge branch 'master' into how-to-install-akeneo-6-on-hypernode
2 parents 55c13a5 + 0a06233 commit 1ea62e3

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy application
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
push:
66
branches:
77
- 'master'
@@ -17,6 +17,7 @@ jobs:
1717
- uses: actions/checkout@v3
1818
with:
1919
fetch-depth: 0
20+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
2021
# Declares the repository safe and not under dubious ownership.
2122
- name: Add repository to git safe directories
2223
run: git config --global --add safe.directory $GITHUB_WORKSPACE
@@ -52,6 +53,7 @@ jobs:
5253
- uses: actions/checkout@v3
5354
with:
5455
fetch-depth: 0
56+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
5557
- name: download build artifact
5658
uses: actions/download-artifact@v4
5759
with:

.github/workflows/lint.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Run linting and suggest changes
22

33
on:
4-
pull_request:
4+
pull_request_target:
55

66
permissions:
77
contents: read
@@ -15,8 +15,10 @@ jobs:
1515
python-version: ['3.12']
1616

1717
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-python@v4
18+
- uses: actions/checkout@v4
19+
with:
20+
ref: ${{ github.event.pull_request.head.sha }}
21+
- uses: actions/setup-python@v5
2022
with:
2123
python-version: ${{ matrix.python-version }}
2224
- name: Install dependencies

0 commit comments

Comments
 (0)