Skip to content

Commit

Permalink
refine name
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jan 22, 2024
1 parent 3fb9666 commit 5b66e8e
Show file tree
Hide file tree
Showing 329 changed files with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: create-pipeline
name: create-workflows
on:
push:
# paths-ignore:
# - '.github/workflows/**'

jobs:
rw:
runs-on: ubuntu-20.04
Expand All @@ -19,24 +16,22 @@ jobs:
npm install yaml
cd ../..
npm install --prefix ./Credibility-Assessment-Framework/Credibility-Development-Kit/util/stmd-crud ./Credibility-Assessment-Framework/Credibility-Development-Kit/util/stmd-crud
- name: create new pipeline
- name: create new workflow
env:
GithubBranch: ${{ github.ref_name }}
GithubRepoName: ${{ github.event.repository.name }}
GithubOwner: ${{ github.repository_owner }}
run: node ./util/stmd/parse_to_yaml.js -f "./data/data2/extra/net.pmsf.ssp.stmd/SimulationTask.stmd" -o ./.github/workflows
# run: node ./util/stmd/parse_to_yaml.js -f "./data/demonstration-test/extra/net.pmsf.ssp.stmd/SimulationTask.stmd" -o ./.github/workflows
- name: push new test pipeline
# The push will NOT trigger an infinite loop, see https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
run: node ./util/stmd/parse_to_yaml.js -f "./data/dc.motor/extra/net.pmsf.ssp.stmd/SimulationTask.stmd" -o ./.github/workflows
- name: push workflows
run: |
git config --global user.name "Automated Test Pipeline"
git config --global user.email "[email protected]"
git add ./.github/workflows
git commit -m "Generated new automated test pipeline, based on STMD [actions skip]"
git commit -m "Generated new automated all workflow, based on STMD [actions skip]"
git push -f
- name: display result
run: |
echo "Successfully created new test pipeline:" >> $GITHUB_STEP_SUMMARY
echo "Successfully created new workflows" >> $GITHUB_STEP_SUMMARY
# cat ./.github/workflows/continuous_test.yml >> $GITHUB_STEP_SUMMARY
File renamed without changes.
Loading

0 comments on commit 5b66e8e

Please sign in to comment.