File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed
Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1414 build :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v6.0.2
17+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818 with :
1919 persist-credentials : false
2020 - name : Build the Docker image
Original file line number Diff line number Diff line change @@ -18,20 +18,20 @@ jobs:
1818 statuses : write
1919 steps :
2020 - name : Checkout Code
21- uses : actions/checkout@v6.0.2
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222 with :
2323 # Full git history is needed to get a proper
2424 # list of changed files within `super-linter`
2525 fetch-depth : 0
2626 persist-credentials : false
27- - uses : actions/setup-python@v6.2.0
27+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2828 with :
2929 python-version : " 3.12"
3030 - name : Install dependencies
3131 run : |
3232 pip install -r requirements.txt -r requirements-test.txt
3333 - name : Lint Code Base
34- uses : super-linter/super-linter@502f4fe48a81a392756e173e39a861f8c8efe056 # v8.3 .0
34+ uses : super-linter/super-linter@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5 .0
3535 env :
3636 DEFAULT_BRANCH : main
3737 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
2121 python-version : [3.11, 3.12]
2222
2323 steps :
24- - uses : actions/checkout@v6.0.2
24+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525 with :
2626 persist-credentials : false
2727 - name : Set up Python ${{ matrix.python-version }}
28- uses : actions/setup-python@v6.2.0
28+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929 with :
3030 python-version : ${{ matrix.python-version }}
3131 - name : Install dependencies
Original file line number Diff line number Diff line change 2525
2626 steps :
2727 - name : " Checkout code"
28- uses : actions/checkout@v6.0.2
28+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929 with :
3030 persist-credentials : false
3131
3636 results_format : sarif
3737 publish_results : true
3838 - name : " Upload artifact"
39- uses : actions/upload-artifact@v6.0.0
39+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4040 with :
4141 name : SARIF file
4242 path : results.sarif
Original file line number Diff line number Diff line change 1111 stale :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/stale@v10.1.1
14+ - uses : actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
1515 with :
1616 stale-issue-message : " This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days."
1717 close-issue-message : " This issue was closed because it has been stalled for 35 days with no activity."
Original file line number Diff line number Diff line change 33# trivy:ignore:AVD-DS-0002
44FROM python:3.14.0-slim@sha256:0aecac02dc3d4c5dbb024b753af084cafe41f5416e02193f1ce345d671ec966e
55LABEL com.github.actions.name="measure-innersource" \
6- com.github.actions.description="Measure and report on the InnerSource collaboration occuring in a given repository" \
6+ com.github.actions.description="Measure and report on the InnerSource collaboration occurring in a given repository" \
77 com.github.actions.icon="bar-chart" \
88 com.github.actions.color="white" \
99 maintainer="@zkoppert" \
1010 org.opencontainers.image.url="https://github.com/github/measure-innersource" \
1111 org.opencontainers.image.source="https://github.com/github/measure-innersource" \
1212 org.opencontainers.image.documentation="https://github.com/github/measure-innersource" \
1313 org.opencontainers.image.vendor="GitHub" \
14- org.opencontainers.image.description="Measure and report on the InnerSource collaboration occuring in a given repository"
14+ org.opencontainers.image.description="Measure and report on the InnerSource collaboration occurring in a given repository"
1515
1616WORKDIR /action/workspace
1717COPY requirements.txt *.py /action/workspace/
Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ def auth_to_github(
9595 github_connection = github3 .login (token = token )
9696 else :
9797 raise ValueError (
98- "GH_TOKEN or the set of [GH_APP_ID, GH_APP_INSTALLATION_ID, \
99- GH_APP_PRIVATE_KEY] environment variables are not set"
98+ "GH_TOKEN or the set of [GH_APP_ID, GH_APP_INSTALLATION_ID, "
99+ " GH_APP_PRIVATE_KEY] environment variables are not set"
100100 )
101101
102102 if not github_connection :
Original file line number Diff line number Diff line change 11"""A tool for measuring InnerSource collaboration in a given repository
22
33This script uses the GitHub API to search for issues/prs in a repository
4- and measure the InnerSource collaboration occuring in those issues/prs.
4+ and measure the InnerSource collaboration occurring in those issues/prs.
55The results are then written to a markdown file.
66
77"""
You can’t perform that action at this time.
0 commit comments