-
Notifications
You must be signed in to change notification settings - Fork 43
2026 - Draft Update to OSS policies #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ware Corporation.
…e; changing reference from "project owners" to advisors.
… terms with respect to Decider and Community Organizers.
…n the page's TOC. Fixing.
…onvey any rights over trademarks or logo marks.
…ss of whether the downstream distriution is commercialized or offered for free use.
| name: Deploy docs | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout master | ||
| uses: actions/checkout@v1 | ||
|
|
||
| - name: Deploy docs | ||
| uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| CONFIG_FILE: mkdocs.yml | ||
| #EXTRA_PACKAGES: build-base | ||
| # GITHUB_DOMAIN: github.myenterprise.com | ||
| REQUIREMENTS: /requirements.txt No newline at end of file |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 7 months ago
To fix the issue, we will add a permissions block to the workflow. Since the workflow deploys documentation to GitHub Pages, it requires contents: write permissions. We will add this block at the root level of the workflow to apply it to all jobs. This ensures that the GITHUB_TOKEN has only the necessary permissions, reducing the risk of unintended access.
-
Copy modified lines R2-R3
| @@ -1,2 +1,4 @@ | ||
| name: Publish docs via GitHub Pages | ||
| permissions: | ||
| contents: write | ||
| on: |
As per the last meeting; here is a first draft of the Chef OSS Practices.
A few notes;
1/ I moved it to publish to a github pages content to make it easier to read / find for people https://chef.github.io/chef-oss-practices/ as such the markdown has moved to mkdocs format.
2/ this is a first draft. I will have another set of changes at the end of July (going to be out of town for the next 2 weeks).
let me know what you want to see that is not part of the document, raise any questions you have about process so we can capture them as well.