Skip to content

Commit

Permalink
Merge pull request #100 from seionmoya/workflow-format-pat
Browse files Browse the repository at this point in the history
Workflow format pat
  • Loading branch information
seionmoya authored Nov 19, 2024
2 parents b4d9191 + 801ce11 commit 9468fea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.FUYU_WORKFLOWS }}
ref: ${{ github.head_ref }}

- name: Setup .NET
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@ See `Documentation/CONTRIBUTING.md` for more information on standards.
EFT | 0.15.0.32197
Arena | 0.2.0.32193

## Setup

### Local project

1. `git clone https://github.com/project-fika/fuyu`
2. Visual Studio Code > Terminal > Run Task... > "dotnet: restore"

### Repository CI/CD

1. Github > Generate new PAT
1. Go [here](https://github.com/settings/tokens/new)
- note: `FUYU_WORKFLOWS`
- permissions: `repo` (all), `workflow` (all)
2. Once PAT is generated, copy the token to clipboard
2. Github > Repositories > Fuyu > Settings > Secrets > Actions
3. New repository secret
- name: `FUYU_WORKFLOWS`
- field: paste your token

## Build

Visual Studio Code > Terminal > Run Build Task...
Expand Down

0 comments on commit 9468fea

Please sign in to comment.