Skip to content

Commit a9aef3e

Browse files
ci: fix env variable
1 parent fd766bd commit a9aef3e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ name: molecule test
33
on:
44
pull_request:
55
branches:
6-
- main
7-
- master
8-
types: [opened, synchronize, reopened]
6+
- fix/fix_ci
7+
# - main
8+
# - master
9+
# types: [opened, synchronize, reopened]
910
schedule:
1011
- cron: '0 6 * * 0'
1112
workflow_dispatch:
@@ -41,7 +42,7 @@ jobs:
4142
- name: Molecule for Ansible - GHR Repository
4243
uses: MonolithProjects/[email protected]
4344
env:
44-
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
45+
PERSONAL_ACCESS_TOKEN: ${{ env.PERSONAL_ACCESS_TOKEN }}
4546
with:
4647
os: ${{ matrix.config.os }}
4748
tag: ${{ matrix.config.tag }}
@@ -62,7 +63,7 @@ jobs:
6263
- name: Molecule for Ansible - GHR Organization
6364
uses: MonolithProjects/[email protected]
6465
env:
65-
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
66+
PERSONAL_ACCESS_TOKEN: ${{ env.PERSONAL_ACCESS_TOKEN }}
6667
with:
6768
molecule_command: test
6869
scenario: org

0 commit comments

Comments
 (0)