Skip to content

Commit

Permalink
Merge pull request #194 from deploymenttheory/feat_intune_settings_te…
Browse files Browse the repository at this point in the history
…mplates

Fix for examples template and update to metadata pipeline pr comments
  • Loading branch information
ShocOne authored Nov 18, 2024
2 parents 3cca2d6 + 13d5cda commit a060131
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/metadata-maintainence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4.2.2

- name: Build and run Docker container
- name: Build and run MS Graph Docker container
run: |
docker build -t graph-permissions .
docker run --rm \
Expand All @@ -28,7 +28,7 @@ jobs:
-v ${{ github.workspace }}/scripts/Export:/app/Export \
graph-permissions
- name: Set permissions and move file
- name: Set permissions and export output
run: |
sudo mkdir -p internal/metadata
sudo mv scripts/Export/ExportedGraphPermissions.json internal/metadata/
Expand All @@ -43,13 +43,13 @@ jobs:
uses: peter-evans/create-pull-request@v7.0.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update Graph permissions data
title: 'Update Graph Permissions Data - ${{ steps.current-time.outputs.time }}'
commit-message: Update MS Graph Metadata
title: 'Update Graph Metadata - ${{ steps.current-time.outputs.time }}'
body: |
This is an automated pull request to update the Graph permissions data.
This is an automated pull request to update the Graph meta data.
Generated on: ${{ steps.current-time.outputs.time }}
Please review the metadata changes and merge if everything looks correct.
branch: update-graph-permissions
branch: update-graph-metadata-${{ steps.current-time.outputs.time }}
base: main
2 changes: 1 addition & 1 deletion templates/resources.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: |-

## Example Usage

{{ printf "{{tffile %q}}" (printf "example/%s/resource.tf" .Name) }}
{{ printf "{{tffile %q}}" (printf "examples/%s/resource.tf" .Name) }}

{{- end }}

Expand Down

0 comments on commit a060131

Please sign in to comment.