Skip to content

Commit

Permalink
Secure GHA setup (#299)
Browse files Browse the repository at this point in the history
Fixes #290.
  • Loading branch information
icemac authored Jan 29, 2025
1 parent 47c4de0 commit 6b0d743
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
commit-id = "55111d56"
commit-id = "b5bcf6d7"

[python]
with-windows = false
Expand Down
2 changes: 2 additions & 0 deletions src/zope/meta/c-code/tests-cache.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- name: checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 2 additions & 0 deletions src/zope/meta/default/tests.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ jobs:
%(line)s
{% endfor %}
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 6b0d743

Please sign in to comment.