diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..0d663c2 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: ':wave: Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.' + stale-pr-message: ':wave: Hi! This pull request has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.' + stale-issue-label: 'stale' + exempt-issue-label: 'keep-open' + stale-pr-label: 'stale' + days-before-stale: 30 + days-before-close: 7 diff --git a/Dockerfile b/Dockerfile index 75ab17e..3e366b0 100755 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ USER root RUN yum -y install python3 RUN yum -y install python3-pip wget -RUN pip3 install --upgrade pip \ - && pip3 install --upgrade pipenv \ +RUN python3 -m pip install --upgrade pip \ + && python3 -m pip install --upgrade pipenv \ && pipenv install --system --deploy USER 1001