Skip to content

Commit

Permalink
No git-content directory in GHA clone in usnistgov#116.
Browse files Browse the repository at this point in the history
This makes it more clear what is going on as it is like default.
  • Loading branch information
aj-stein-nist committed Oct 27, 2023
1 parent 3ed680a commit 6bc05c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/content-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
if: github.repository == env.HOME_REPO && github.ref == 'refs/heads/main'
with:
path: git-content
submodules: recursive
token: ${{ secrets.COMMIT_TOKEN }}
# use this if checkout is anonymous
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
if: github.repository != env.HOME_REPO || github.ref != 'refs/heads/main'
with:
path: git-content
submodules: recursive
- name: Copy and convert content
run: |
Expand All @@ -56,7 +54,6 @@ jobs:
if: github.repository == env.HOME_REPO && github.ref == 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a
with:
repository: git-content
push_options: --force
commit_message: Publishing auto-converted artifacts
commit_user_name: OSCAL GitHub Actions Bot
Expand Down

0 comments on commit 6bc05c3

Please sign in to comment.