File tree Expand file tree Collapse file tree 9 files changed +14
-13
lines changed Expand file tree Collapse file tree 9 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1- # This workflow will install Python dependencies, run tests and lint with a single version of Python
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3-
41name : Python application
52
63on :
74 push :
85 branches :
96 - ' **'
107
11-
128jobs :
139 build :
1410 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write # ✅ Push 권한을 위해 필요
13+
1514 steps :
16- - uses : actions/checkout@v2
15+ - name : Checkout the repository
16+ uses : actions/checkout@v2
17+ with :
18+ token : ${{ secrets.GITHUB_TOKEN }} # ✅ 자동 제공 토큰 사용
19+
1720 - name : Set up Python 3.9
1821 uses : actions/setup-python@v2
1922 with :
2023 python-version : 3.9
21- - name : install dependencies
24+
25+ - name : Install dependencies
2226 run : |
2327 python -m pip install --upgrade pip
2428 pip install requests
25- - name : run code
29+
30+ - name : Run code
2631 run : |
2732 cd workbook
2833 python actions.py
34+
2935 - name : Commit and Push Changes
3036 run : |
3137 git config user.name github-actions
3238 git config user.email github-actions@github.com
3339 git add workbook/
3440 git commit -m "Auto-generate workbook for branch ${{ github.ref_name }}" || echo "No changes to commit"
35- git push
36- env :
37- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ git push origin HEAD
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11import java .io .*;
2- import java .util .*;
32
43public class Main {
54
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11import java .io .*;
2- import java .util .*;
32
43public class Main {
54
Original file line number Diff line number Diff line change 11import java .io .*;
2- import java .util .*;
32
43public class Main {
54
File renamed without changes.
You can’t perform that action at this time.
0 commit comments