-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from hugoabernier/main
Added workflows and updated schema
- Loading branch information
Showing
20 changed files
with
323 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Wrong or missing author @mentions | ||
|
||
Thank you for your submission, but you appear to have forgotten to @mention the sample author(s). | ||
|
||
To help increase your chances of getting assistance from the original authors of the sample, you should make sure to @mention the actual authors (and not the repository maintainers). | ||
|
||
Make sure to include the `@` character before the GitHub username so that the author(s) get notified. | ||
|
||
Please note that the sample authors will not get notified about this issue unless you update this issue accordingly. | ||
|
||
You can find the author(s) of each sample in the sample's `README.md`, under **Solution**. | ||
|
||
We'll automatically close this issue in 7 days unless you update the issue. | ||
|
||
For more information on how to create a good issue, refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/powerplatform-samples/wiki/How-to-Create-Good-Issues) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: SharePoint Developer Documentation | ||
url: https://github.com/SharePoint/sp-dev-docs/issues/new | ||
about: 📚 Issue related to the SharePoint Framework or its documentation? Submit an issue here. | ||
- name: SharePoint StackExchange | ||
url: http://sharepoint.stackexchange.com/ | ||
about: ⁉️ If you have technical questions about the framework, tag your questions with `#spfx`, `#spfx-webparts`, or `#spfx-tooling` here. | ||
- name: Microsoft Tech Community | ||
url: https://techcommunity.microsoft.com/t5/sharepoint-developer/bd-p/SharePointDev | ||
about: ⁉️ Alternatively, submit your technical questions about the framework in the SharePoint Developer group here | ||
- name: Power Apps Community | ||
url: https://powerusers.microsoft.com/t5/Get-Help-with-Power-Apps/ct-p/PA_General | ||
about: Get help from our passionate Power Apps community members. | ||
- name: Power Automate Community | ||
url: https://powerusers.microsoft.com/t5/Get-Help-with-Power-Automate/ct-p/FL_GeneralDiscussions | ||
about: Ask the community members from the Power Automate community. | ||
- name: Power Pages Community | ||
url: https://powerusers.microsoft.com/t5/Get-Help-with-Power-Pages/ct-p/mpp_gethelp | ||
about: It may be the newest family member, but the Power Pages community is one of the most passionate community there is. | ||
- name: Power Virtual Agents Community | ||
url: https://powerusers.microsoft.com/t5/Get-Help-with-Power-Virtual/ct-p/pva_gethelp | ||
about: Ask questions about Power Virtual Agents in the community. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,42 @@ | ||
## This repo does not accept pull requests | ||
> By submitting this pull request, you agree to the [contribution guidelines](https://github.com/pnp/powerplatform-samples/blob/main/CONTRIBUTING.md) | ||
If you have a sample that you'd like to share, please visit the appropriate repository for the type of simple you'd like to provide and look for the **Contribution Guidance** section. | ||
> If you aren't familiar with how to contribute to open-source repositories using GitHub, or if you find the instructions on this page confusing, sign up for one of our [Sharing is Caring](https://pnp.github.io/sharing-is-caring/#pnp-sic-events) events. It's completely free, and we'll guide you through the process. | ||
The following is a list of repositories for each sample types: | ||
> To submit a pull request with multiple authors, make sure that at least one commit is a co-authored commit by adding a `Co-authored-by:` trailer to the commit's message. E.g.: `Co-authored-by: name <[email protected]>` | ||
- [Power Fx Samples](https://github.com/pnp/powerfx-samples) | ||
- [Power Apps Samples](https://github.com/pnp/powerapps-samples) | ||
- [Power Automate Samples](https://github.com/pnp/powerautomate-samples) | ||
- [Power Virtual Agents Samples](https://github.com/pnp/powerva-samples) | ||
> Put an `x` in all the items that apply (`[x]`, without spaces), make notes next to any that haven't been addressed. | ||
- [ ] Bug fix? | ||
- [ ] New sample? | ||
- [ ] Related issues: fixes #X, partially #Y, mentioned in #Z | ||
- [ ] Needs API permissions? | ||
- [ ] Has other prerequisites? (E.g. requires a list, document library, etc.) | ||
|
||
## What's in this Pull Request? | ||
|
||
> Please describe the changes in this PR. Sample description or details around bugs which are being fixed. | ||
> | ||
> _(DELETE THIS PARAGRAPH AFTER READING)_ | ||
## Checklist | ||
|
||
> This checklist is mostly useful as a reminder of small things that can easily be forgotten – it is meant as a helpful tool rather than hoops to jump through. | ||
> | ||
> Put an `x` in all the items that apply ([x], no spaces), make notes next to any that haven't been addressed. | ||
- [ ] My pull request affects only ONE sample. | ||
- [ ] I have updated the README file. | ||
- [ ] My README has at least one static high-resolution screenshot (i.e. not a GIF) | ||
- [ ] My README contains complete setup instructions, including pre-requisites and permissions required | ||
|
||
## Submitter Guidance (DELETE AFTER READING) | ||
> | ||
> *Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.* | ||
> | ||
> *Pull requests that do not follow this template will be automatically rejected.* | ||
> | ||
> *Please target your PR to `main` branch.* | ||
> | ||
> *Remember that this repository is maintained by community members who volunteer their time to help. Be courteous and patient.* | ||
> | ||
> _(DELETE THIS SECTION AFTER READING)_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Configuration for Label Actions - https://github.com/dessant/label-actions | ||
|
||
# Actions taken when the `incomplete-submission` label is added to issues | ||
status:invalid-issue: | ||
# Post a comment | ||
comment: |+ | ||
Thank you for your submission, but there isn't enough detail in the issue for us to review & move forward. | ||
The new issue template includes sections for you to fill out. | ||
Please resubmit your issue and complete the provided sections in the new item template so we can move forward on it refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/powerplatform-samples/wiki/How-to-Create-Good-Issues) | ||
# Close the issue | ||
close: true | ||
|
||
# Actions taken when the `incomplete-submission` label is added to issues | ||
status:incomplete-submission: | ||
# Post a comment | ||
comment: |+ | ||
Thank you for your submission, but there isn't enough detail in the issue for us to review & move forward. | ||
The new issue template includes sections for you to fill out. Please resubmit your issue and complete the provided sections in the new item template so we can move forward on it refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/powerplatform-samples/wiki/How-to-Create-Good-Issues) | ||
# Close the issue | ||
close: true | ||
|
||
# Actions taken when the `wrong-repo` label is added to issues | ||
status:wrong-repo: | ||
# Post a comment | ||
comment: |+ | ||
Thank you for your submission, but this issues list is intended only for issues related to the samples in this repository. | ||
For general issues with the Power Platform, you may want to try to post a question in the [Power Platform community](https://powerusers.microsoft.com/). | ||
# Close the issue | ||
close: true | ||
|
||
# Actions taken when the `wrong-author` label is added to issues | ||
status:wrong-author: | ||
# Post a comment | ||
comment: |+ | ||
## Wrong or missing contributor @mentions | ||
Thank you for your submission, but you appear to have forgotten to @mention the sample contributor(s). | ||
To help increase your chances of getting assistance from the original contributors of the sample, you should make sure to @mention the actual contributors (and not the repository maintainers). | ||
Please note that the sample contributors will not get notified about this issue unless you update this issue accordingly. | ||
You can find the contributors of each sample in the sample's `README.md`, under the aptly-named **Contributors** section. | ||
We'll automatically close this issue in 7 days unless you update the issue. | ||
For more information on how to create a good issue, refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/powerplatform-samples/wiki/How-to-Create-Good-Issues) | ||
# Close the issue | ||
close: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "Close stale issues" | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
workflow_dispatch: | ||
permissions: | ||
issues: write | ||
jobs: | ||
destale-inator: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
name: "Close invalid authors" | ||
with: | ||
days-before-issue-stale: 3 | ||
days-before-issue-close: 1 | ||
days-before-pr-stale: -1 | ||
operations-per-run: 1000 | ||
stale-issue-message: "Please note that this issue will be closed within 24 hours because it has been flagged as having invalid authors. [Read the guidance](https://github.com/pnp/powerplatform-samples/wiki/How-to-create-good-issues#mention-authors) and @mention the authors so they can respond to you." | ||
only-issue-labels: "status:wrong-author" | ||
close-issue-message: "Closing this issue due to lack of response. Feel free to open a new issue, but make sure to follow the guidance on [how to create good issues](https://github.com/pnp/powerplatform-samples/wiki/How-to-create-good-issues#mention-authors) and @mention the authors so they can respond to you." | ||
- uses: actions/stale@v4 | ||
name: "Close stale issues" | ||
with: | ||
days-before-issue-stale: 90 | ||
days-before-issue-close: 7 | ||
days-before-pr-stale: -1 | ||
stale-issue-label: "status:no-recent-activity" | ||
exempt-all-issue-assignees: true | ||
exempt-issue-labels: "type:sample-request" | ||
remove-issue-stale-when-updated: true | ||
operations-per-run: 1000 | ||
stale-issue-message: "This issue has been marked as stale due to no progress in over 90 days. If you are still experiencing this issue, please provide additional information so we can help you resolve it." | ||
close-issue-message: "Closing this issue due to lack of activity. If you are still encountering this issue, please do not hesitate to open a new issue. Make sure to follow the guidance on [how to create good issues](https://github.com/pnp/powerplatform-samples/wiki/How-to-create-good-issues) to increase your chances of getting the help you deserve." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: 'Check for incomplete submissions' | ||
|
||
on: | ||
issues: | ||
types: [labeled, unlabeled] | ||
|
||
jobs: | ||
reaction: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/label-actions@v2 | ||
with: | ||
github-token: ${{ github.token }} | ||
process-only: 'issues' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Merge sample metadata | ||
|
||
on: | ||
push: | ||
branches: | ||
# When someone push to `main` branch | ||
- main | ||
paths: | ||
- 'samples/**/assets/sample.json' | ||
|
||
jobs: | ||
build: | ||
name: 'Merge all sample.json files to samples.json' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout main branch | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: main | ||
path: main | ||
- name: Checkout gh-pages branch | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: gh-pages | ||
path: gh-pages | ||
- name: Checkout Docs branch | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: Docs | ||
path: Docs | ||
- name: Join samples | ||
run: | | ||
jq -s '[.[][]]' ./main/samples/**/assets/sample.json > ./Docs/docs/samples.json | ||
- name: Validate JSON | ||
uses: docker://orrosenblatt/validate-json-action:latest | ||
env: | ||
INPUT_SCHEMA: ./main/templates/metadata-schema.json | ||
INPUT_JSONS: ./Docs/docs/samples.json | ||
- name: copy file to gh-pages | ||
uses: canastro/copy-file-action@master | ||
with: | ||
source: "./Docs/docs/samples.json" | ||
target: "./gh-pages/samples.json" | ||
- name: Commit samples.json to gh-pages | ||
uses: EndBug/add-and-commit@v6 | ||
with: | ||
cwd: ./gh-pages | ||
branch: gh-pages | ||
add: 'samples.json --force' | ||
push: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Commit samples.json to Docs | ||
uses: EndBug/add-and-commit@v6 | ||
with: | ||
cwd: ./Docs | ||
branch: Docs | ||
add: 'docs/samples.json --force' | ||
push: true | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"cSpell.words": [ | ||
"CUSTOMCONNECTOR", | ||
"ONPREM", | ||
"POWERAPPS" | ||
] | ||
} |
Oops, something went wrong.