✨ rename Getting Started -> Examples to Getting Started -> Install KubeStellar #883
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
name: Add issues to project | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
permissions: | |
contents: write | |
jobs: | |
create-update-project: | |
if: github.repository_owner == 'kubestellar' | |
name: Create/update project issue | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get current date | |
id: date | |
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | |
- uses: actions/[email protected] | |
with: | |
token: ${{ secrets.GH_ALL_PROJECT_TOKEN }} | |
persist-credentials: 'false' | |
- uses: actions/[email protected] # This adds the issue to the project | |
with: | |
project-url: https://github.com/orgs/kubestellar/projects/5 | |
github-token: ${{ secrets.GH_ALL_PROJECT_TOKEN }} | |
id: add-project | |
- uses: titoportas/[email protected] | |
with: | |
project-url: https://github.com/orgs/kubestellar/projects/5 | |
github-token: ${{ secrets.GH_ALL_PROJECT_TOKEN }} | |
item-id: ${{ steps.add-project.outputs.itemId }} # Use the item-id output of the previous step | |
field-keys: Status,Date Posted | |
field-values: New,${{ steps.date.outputs.date }} |