Skip to content

Commit 74bd16a

Browse files
committed
[GEOPY-2161] another attempt to address report by Zizmor
1 parent cbe6ee4 commit 74bd16a

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/python_deploy_dev.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
1010
cancel-in-progress: true
1111

12-
permissions:
13-
contents: write
14-
actions: read
15-
1612
jobs:
1713
call-workflow-conda-publish:
1814
name: Publish development conda package on JFrog Artifactory
1915
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_rattler_package.yml@main
16+
permissions:
17+
contents: write # to create draft release and attach artifacts
18+
actions: read
2019
with:
2120
package-name: 'mira-simpeg'
2221
python-version: '3.10'
@@ -29,6 +28,9 @@ jobs:
2928
call-workflow-pypi-publish:
3029
name: Publish development pypi package (JFrog Artifactory, TestPyPI)
3130
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@main
31+
permissions:
32+
contents: write # to create draft release and attach artifacts
33+
actions: read
3234
with:
3335
package-manager: 'setuptools'
3436
package-name: 'mira-simpeg'

0 commit comments

Comments
 (0)