Skip to content

Commit c2d3ffb

Browse files
ci: reducing secret exposure (#4261)
* ci: remove Meilisearch API keys from CI workflow environment * ci: remove GITHUB_TOKEN env from migrator workflow clone step * chore: adding changelog file 4261.maintenance.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
1 parent e1e45cf commit c2d3ffb

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ env:
2525
PACKAGE_NAME: 'ansys-mapdl-core'
2626
PACKAGE_NAMESPACE: 'ansys.mapdl.core'
2727
DOCUMENTATION_CNAME: 'mapdl.docs.pyansys.com'
28-
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}
29-
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}
30-
3128

3229
concurrency:
3330
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/migrator.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ jobs:
300300

301301
- name: Clone head repo and checkout branch. Resolve conflicts if needed.
302302
if : ${{ env.CONTINUE == 'true' }}
303-
env:
304-
GITHUB_TOKEN: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
305303
run: |
306304
echo "Setting up git configuration"
307305
git config --global user.name "${{ secrets.PYANSYS_CI_BOT_USERNAME }}"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Reducing secret exposure

0 commit comments

Comments
 (0)