Skip to content

Commit 2736df9

Browse files
authored
Merge branch 'master' into patch-1
2 parents 908bb6d + 5cfcee8 commit 2736df9

File tree

121 files changed

+593
-30728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+593
-30728
lines changed

.github/workflows/automatic-pr-merger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v2
23-
- uses: rasahq/merge-pal-action@v0.5.1
23+
- uses: rasahq/merge-pal-action@master
2424
with:
2525
token: ${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN || secrets.GITHUB_TOKEN}}

.github/workflows/continous-integration.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,13 @@ jobs:
200200
run: docker build . --file ${{ matrix.image.file }} --tag rasa/rasa:latest${{ matrix.image.tag_ext }} --cache-from rasa/rasa:latest${{ matrix.image.tag_ext }}
201201

202202
- name: Push image with latest tag 📦
203-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
203+
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'RasaHQ/rasa'
204204
run: docker push rasa/rasa:latest${{ matrix.image.tag_ext }}
205205

206206
- name: Push image with ${{github.ref}} tag 📦
207207
env:
208208
GITHUB_TAG: ${{ github.ref }}
209-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
209+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'RasaHQ/rasa'
210210
run: |
211211
GITHUB_TAG=${GITHUB_TAG/refs\/tags\//}
212212
docker tag rasa/rasa:latest${{ matrix.image.tag_ext }} rasa/rasa:${GITHUB_TAG}${{ matrix.image.tag_ext }}
@@ -217,7 +217,7 @@ jobs:
217217
runs-on: ubuntu-latest
218218

219219
# deploy will only be run when there is a tag available
220-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
220+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'RasaHQ/rasa'
221221
needs: [quality, test, api, docker] # only run after all other stages succeeded
222222

223223
steps:
@@ -268,6 +268,14 @@ jobs:
268268
needs: [quality, test, api, docker]
269269
steps:
270270
- uses: actions/checkout@v1
271-
- uses: rasahq/[email protected]
271+
- name: Make sure there is a github token
272+
shell: bash
273+
run: |
274+
if [ -z "${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN }}" ]; then
275+
echo ::set-env name=MERGE_TOKEN::${{ secrets.GITHUB_TOKEN }}
276+
else
277+
echo ::set-env name=MERGE_TOKEN::${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN }}
278+
fi
279+
- uses: rasahq/merge-pal-action@master
272280
with:
273-
token: ${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN }}
281+
token: ${{ env.MERGE_TOKEN }}

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
docs:
1818
name: Build Docs
1919
runs-on: ubuntu-latest
20+
if: github.repository == 'RasaHQ/rasa' # don't run this for master branches of forks, would fail anyways
2021

2122
steps:
2223
- name: Checkout git repository 🕝

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ graph.html
6767
story_graph.html
6868
story_graph.dot
6969
debug.md
70-
examples/restaurantbot/models*
7170
examples/moodbot/*.png
7271
examples/moodbot/errors.json
7372
examples/formbot/models*

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ repos:
77
rev: master
88
hooks:
99
- id: doctoc
10+
files: "CONTRIBUTING.md"

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ Features
416416

417417
DIET (Dual Intent and Entity Transformer) is a multi-task architecture for intent classification and entity
418418
recognition. You can read more about this component in our :ref:`documentation <diet-classifier>`.
419-
The new component will replace the :ref:`EmbeddingIntentClassifier <embedding-intent-classifier>` and the
419+
The new component will replace the ``EmbeddingIntentClassifier`` and the
420420
:ref:`CRFEntityExtractor` in the future.
421421
Those two components are deprecated from now on.
422422
See :ref:`migration guide <migration-to-rasa-1.8>` for details on how to

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<img align="right" height="244" src="https://www.rasa.com/assets/img/sara/sara-open-source-2.0.png">
1313

14-
Rasa is an open source machine learning framework to automate text-and voice-based conversations. With Rasa, you can build contexual assistants on:
14+
Rasa is an open source machine learning framework to automate text-and voice-based conversations. With Rasa, you can build contextual assistants on:
1515
- Facebook Messenger
1616
- Slack
1717
- Google Hangouts
@@ -189,7 +189,7 @@ Where `[n]` is the number of jobs desired. If omitted, `[n]` will be automatical
189189
Poetry doesn't include any solution that can help to resolve merge conflicts in
190190
the lock file `poetry.lock` by default.
191191
However, there is a great tool called [poetry-merge-lock](https://poetry-merge-lock.readthedocs.io/en/latest/).
192-
Here is how use can install it:
192+
Here is how you can install it:
193193

194194
```bash
195195
pip install poetry-merge-lock

changelog/5385.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Stack level for ``FutureWarning`` updated to level 2.

changelog/5758.removal.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Removed previously deprecated classes:
2+
- event brokers (``EventChannel`` and ``FileProducer``, ``KafkaProducer``, ``PikaProducer``, ``SQLProducer``)
3+
- intent classifier ``EmbeddingIntentClassifier``
4+
- policy ``KerasPolicy``
5+
6+
Removed previously deprecated methods:
7+
- ``Agent.handle_channels``
8+
- ``TrackerStore.create_tracker_store``
9+
10+
Removed support for pipeline templates in ``config.yml``
11+
12+
Removed deprecated training data keys ``entity_examples`` and ``intent_examples`` from
13+
json training data format.

changelog/5834.removal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed ``restaurantbot`` example as it was confusing and not a great way to build a bot.

0 commit comments

Comments
 (0)